Cybersecurity news

Jessica Doner

Back to the list

Microsoft almost gave away the keys to everyone’s Azure Cosmos DBs

CSO Online,

A security company found a flaw in a cloud database that could have compromised all customer and Microsoft databases, which Microsoft fixed over eight months.

Vulnerabilities and patches

Overview

A security company named Wiz found a critical flaw in the Gremlin APIA structured interface that lets one software program request data or actions from another program of Microsoft's Azure Cosmos DB. This bug allowed attackers to steal the Cosmos Master Key, which would have given them read and write access to any database on the service. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend also exposed a list of every database, including subscription and tenantOne organization's dedicated, isolated slice of accounts and data inside a shared cloud service IDs. Wiz reported the issue to Microsoft in November 2025, and the company applied a hot fix within two days. However, it took eight months to fully re-engineer the infrastructure to remove the master key and add new guardrailsSafety rules and filters built around an AI model to block harmful, private, or off-limits outputs. The flaw could have compromised both customer data and Microsoft's own systems.

Terms in this story

API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
tenant
One organization's dedicated, isolated slice of accounts and data inside a shared cloud service. Even though many companies share the same cloud provider's hardware, each company manages its own users, policies, and storage inside its own cloud tenant.
guardrails
Safety rules and filters built around an AI model to block harmful, private, or off-limits outputs. Security stories test whether an AI assistant's guardrails hold up when a user or attacker crafts tricky prompts to ask for malware code or private company records.
keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
databases
An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
exploited
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
SDKs
A bundle of code libraries, tools, and documentation that developers import to build apps for a platform. Mobile app developers include third-party advertising or analytics SDKs in their apps, and a malicious or buggy SDK can quietly collect data from every app that bundles it.
secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the CSO Online website. Cite the article, not this page.

Read the full article on CSO Online (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related