Top/Articles/Azure Cosmos DB CVE-2026-66803: Fixed by Microsoft, No Action Needed
azure-cosmos-db-cve-cover-en

Azure Cosmos DB CVE-2026-66803: Fixed by Microsoft, No Action Needed

Azure Cosmos DB had a CVSS 10.0 flaw (CVE-2026-66803) risking takeover of any database. Microsoft fixed it server-side; no user action, no known exploitation.

NewsPublished July 31, 2026 Updated today
Table of contents
Key takeaways

Azure Cosmos DB had a CVSS 10.0 flaw (CVE-2026-66803) risking takeover of any database. Microsoft fixed it server-side; no user action, no known exploitation.

A maximum-severity flaw (CVSS 10.0) has been found in Microsoft's cloud database "Azure Cosmos DB." It is tracked as CVE-2026-66803. Microsoft disclosed the details on July 30, 2026.

Here is the bottom line first. The flaw has already been fixed on Microsoft's side, and companies or developers using Azure Cosmos DB do not need to do anything themselves. There have been no reports of it being exploited in the wild, either. Because Azure Cosmos DB is a "managed service" (a cloud service where Microsoft runs the servers for you and you just use the features), the fix was carried out entirely on the server side. In other words, there is no need for you to open a console and apply a patch.

That said, a severity of 10.0 is the top of the scale, and the substance is serious too: attackers could potentially have taken over any customer's entire database. Let's walk through what was going on and why no user action is required.

Overview of CVE-2026-66803

First, the basics in a table. The figures are based on the U.S. government's vulnerability database (NVD) and Microsoft's published information.

ItemDetails
Tracking IDCVE-2026-66803
Severity (CVSS)10.0 / Maximum (CRITICAL)
Type of flawImproper access control
(CWE-284)
ImpactUnauthenticated attacker runs
code over the network
AffectedAzure Cosmos DB
(Microsoft's cloud database)
DisclosedJuly 30, 2026
Fix statusFixed by Microsoft
(no user action required)
ExploitationNone reported
(not in CISA KEV)

Azure Cosmos DB stores data behind apps and services around the world. Microsoft's own "Teams" messages and some "Copilot" usage data are also kept there in part, making it a large-scale backbone. Because a 10.0 flaw showed up in it, many asked "is our service safe?" The flaw was first reported by the cloud security firm Wiz, which named this chain of issues "CosmosEscape."

Note that, as of this writing, the NVD analysis is in the "Awaiting Enrichment" state. The CVSS figure and technical classification are based on the values Microsoft submitted; NVD's own detailed analysis is expected to be added later.

Who would target it, and what would they do

If this flaw had been targeted, the ones to worry about would be skilled attackers and financially motivated criminal groups who specialize in going after cloud infrastructure. It was not a trap an ordinary user might stumble into; it was the kind of attack that someone with a deep understanding of cloud internals would set up over time.

What that adversary was trying to do was, in short, obtain a single point of entry. The attacker would first create one ordinary Cosmos DB account, which anyone can make. From there they would send in a crafted data query, break through the partition that should have kept them inside their own space, and steal a "master key" that unlocks the databases of the entire service. That key could open any customer's database regardless of which company owned it or which region it sat in.

Had it been exploited before the fix, the damage would not have stopped at "one company's data breach." Unrelated companies sharing the same platform could have had their data read and rewritten at will. End users could have had their information stolen, and the operating companies could have lost customer data and trust all at once. That was the worst-case scenario. Fortunately, according to Wiz, there is no sign this attack was ever used in the wild; it stayed within research testing.

How it worked: from one query to "all the keys"

According to The Hacker News and Wiz's technical write-up, the attack chained several weaknesses together. Step by step:

  • Entry point: Send a crafted query to one of Cosmos DB's search features, "Gremlin." Internally, the query is translated into program code (.NET code) to run.
  • Breaking the partition: The engine is supposed to allow only limited operations, but the restrictions failed to account for a special programming feature called "reflection," letting the researchers read and write files that should have been off-limits.
  • Seizing the foothold: Using that as a stepping stone, they reached a state where they could freely run programs on the "DB Gateway" (the component that brokers access to each database) shared by many customers, i.e. code execution.
  • Obtaining the master key: From inside the gateway, they could extract the service-wide signing key, the "Cosmos Master Key." With it, they could pull the legitimate key of any customer account.

The heart of the problem was that this "Cosmos Master Key" was not scoped to a specific tenant, region, or database type (SQL, MongoDB, Cassandra, Gremlin, and so on). According to Tech Times, one key could open everything, truly "one key to rule them all." Wiz plans to present these findings at the "Black Hat USA" security conference on August 6, 2026, under the title "One Key to Rule Them All." What made it especially nasty is that even network-isolated, private databases could not be fully protected, because the brokering component itself was compromised from the inside.

From discovery to fix

This flaw was reported and fixed before it went public. Here is the timeline, based on reporting from BleepingComputer and others.

← swipe to move

In just two days after the report, the entry point was closed, and over roughly the next eight months the design-level root fix was completed. SC Media also reported that the fix stopped a cross-service attack.

What users need to do

Let's repeat the conclusion. There is no work for Azure Cosmos DB users to perform for this flaw. Microsoft has completed the fix on the server side, and there is no need to apply patches, restart, or change settings. Wiz also states officially that "no customer action is required." This is the benefit of a managed service: the risk was removed without users even noticing.

As for rotating keys (the keys used for access), there is no need to rush to rotate them because of this flaw. The root cause, the "Cosmos Master Key," has itself been removed from the design. Cybersecurity News also reports that no traces of exploitation and no access to customer data were found.

That said, "no action needed for this CVE" does not mean day-to-day preparation is unnecessary. As general cloud defense, unrelated to this incident, it is always worth reviewing settings such as closing off direct access from the public network in favor of private connections, and enforcing authentication with Entra ID (formerly Azure AD) plus least-privilege access. These are basics that raise your safety level regardless of this particular fix.

On the same Azure, a batch of 10.0-class flaws was disclosed a while back that likewise required no update work from users (Six 10.0 flaws in Azure Key Vault and more, no update work needed). Fixes that are handled entirely on the cloud side are not unusual, so there is no need to panic just because the number is large. On the other hand, vulnerabilities that are genuinely under active attack are a different matter. The U.S. government's list of flaws that are actually being exploited can be checked in the CISA KEV summary. This CVE-2026-66803 is not on that list.

Summary

CVE-2026-66803 carries the maximum severity of 10.0, but it is a vulnerability that requires no action from users. It was a serious flaw that could have let an attacker take over every customer's database from a single account, but after Wiz's report Microsoft closed the entry point within 48 hours and finished the design-level root fix by July 2026. There is no sign of exploitation, and it is not listed in CISA KEV.

"Nothing to do" is the answer this time. If you were startled by the words "10.0" and "code execution" in the headlines, and you use Azure Cosmos DB, you can take it that no extra work is required. The full technical account is due at Black Hat on August 6, so we will add updates if new facts emerge.

References

avatar-m-1

Makoto Horikawa

Backend Engineer / AWS / Django