CRITICALVulnerability
Global

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

·Source: CSO Online

Updated:

Executive Summary

Microsoft has had a narrow escape from total embarrassment: A security company uncovered a critical vulnerability that could have compromised all Azure Cosmos DB databases — both those of customers and Microsoft’s own. Google subsidiary Wiz found a flaw in the database’s Gremlin API, usually used for storing and managing property graph data. If bad actors had discovered it first, they could have e

Analysis

Microsoft has had a narrow escape from total embarrassment: A security company uncovered a critical vulnerability that could have compromised all Azure Cosmos DB databases — both those of customers and Microsoft’s own. Google subsidiary Wiz found a flaw in the database’s Gremlin API, usually used for storing and managing property graph data. If bad actors had discovered it first, they could have exploited it to acquire what Wiz called the Cosmos Master Key, which would have enabled them to use the primary key of any Cosmos database, resulting in read and write access to any account. They would also have had access to a list of every database on the service, with identifiers such as subscription and tenant IDs. Azure Cosmos DB is a NoSQL database that underpins Microsoft’s cloud services. It can be accessed through SDKs for framework such as Python, Node.js, Java, and .NET. Wiz described how it discovered the vulnerability in a blog post. It disclosed details of the flaw to Microsoft in November 2025. Microsoft deployed a hot fix within two days, but it took another eight months to re-engineer the infrastructure, removing the Cosmos Master Key and introducing new guardrails to Cosmos DB to prevent similar attacks. It is not the first time Cosmos DB customers’ primary keys have been under threat: In 2021, Wiz found a flaw in data exploration tool Jupyter Notebook that could be exploited to access the database keys and other secrets.
Source Attribution

Originally published by CSO Online on Jul 31, 2026.

Related Threats

MEDIUMVulnerabilityNEW

Defcon Aerospace Village Seeks Broader Appeal This Year

<img src="https://ismg-cdn.nyc3.cdn.digitaloceanspaces.com/articles/defcon-aerospace-village-seeks-broader-appeal-this-year-image_small-2-a-32400.jpg" align=right hspace=4><b>That’s No Moon, It’s an Insecure PLC</b><br>The Aerospace Village at annual hacking conference Defcon, famed as the home of the Hack-A-Sat contest which culminated in 2023 with the live hacking of a real satellite in orbit, w

Bank Info Security
HIGHVulnerability

NVD HIGH: CVE-2026-61524 — WebsiteBaker CMS before 2.13.10 contains an unrestricted file upload vulnerabili...

WebsiteBaker CMS before 2.13.10 contains an unrestricted file upload vulnerability in the module installation feature that allows authenticated administrators to achieve remote code execution by uploading a crafted ZIP archive containing a PHP webshell alongside a valid info.php metadata file. Attackers can place the malicious archive through the module installation interface, causing the applicat

CVE-2026-61524
NIST NVD
HIGHVulnerability

NVD HIGH: CVE-2026-61523 — WebsiteBaker CMS before 2.13.10 contains a code injection vulnerability in the D...

WebsiteBaker CMS before 2.13.10 contains a code injection vulnerability in the Droplets editor that allows authenticated administrators to inject arbitrary PHP code by submitting malicious content through the droplet Code field, which is written verbatim to a publicly accessible PHP file with no content sanitization. Attackers can save a PHP webshell via the save_droplet handler to a predictable p

CVE-2026-61523
NIST NVD