Executive Summary
Wiz's CosmosEscape: a patched Azure Cosmos DB flaw let attackers escape the Gremlin sandbox and get a platform-wide key to access any tenant's database.
What Happened
A now-patched vulnerability in Azure Cosmos DB could have let an attacker escape the service's Gremlin query sandbox and obtain full read and write access to databases across customer tenants, according to Wiz. Wiz, which codenamed the chain CosmosEscape, said the exploit chain began with a crafted query against a Gremlin database controlled by the attacker. From there, code execution on a
Affected Products
- Azure Cosmos DB
Vulnerability / Attack Technique
Cross-tenant sandbox escape
Technical Mechanism
Crafted Gremlin query.
AI Security Category
Not AI-specific
RealGround Analysis
Cloud isolation flaw.
Recommended Controls
- No action required (patched)
Related RealGround Service
Secure AI Agent Build · or start with the free AI Agent Security Scanner.
Sources
thehackernews.com: https://thehackernews.com/2026/07/azure-cosmos-db-flaw-exposed-platform.html
Summary and analysis written by RealGround from the source above; last updated 2026-10-18.
