Azure Cosmos DB Flaw Exposed Platform-Wide Key That Could Access Any Database
Azure Cosmos DB vulnerability allowed sandbox escape and cross-tenant database access via platform-wide key.
Wiz discovered a critical vulnerability chain in Azure Cosmos DB (dubbed CosmosEscape) that could allow attackers to escape the Gremlin query sandbox, achieve arbitrary code execution, and obtain platform-wide signing secrets granting access to any customer database across tenants. Microsoft patched the vulnerable Gremlin entry point within 48 hours of the November 2025 report and completed a full regional fix by July 2026, eliminating the platform-wide key; Microsoft found no evidence of exploitation or customer impact.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Microsoft?
Get an email when a new story names Microsoft, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonA chained vulnerability in Azure Cosmos DB's Gremlin query interface allowed attackers to escape the sandbox, execute arbitrary code, and ultimately retrieve platform-wide signing secrets that could grant access to any customer database across all tenants. The root failure was a combination of insufficient sandbox isolation and the existence of a single, overly privileged platform-wide key — a catastrophic 'blast radius' design flaw. This matters because a single exploitation path could have compromised every customer's data simultaneously, violating foundational multi-tenancy isolation guarantees. Cloud providers must treat cross-tenant privilege escalation paths as critical-severity issues requiring both rapid patching and architectural remediation. Microsoft's 48-hour initial patch response was commendable, but the 8-month timeline to fully eliminate the platform-wide key highlights the systemic risk of legacy privileged credential architectures.
What helps against this
How we list vendors- Identity threat detection and response (ITDR)
Attackers who log in with real, stolen credentials get noticed.
- Vulnerability scanning and prioritisation
You know which systems are vulnerable, and which ones to fix first.
- Cloud security posture management (CSPM and CNAPP)
Misconfigured cloud storage and over-permissive roles get caught before they leak.
Indicators of Compromise
Extracted by AI from the linked source. Not reviewed by an editor. How this works
- malware — CosmosEscape