Close Menu
NCIJ Network NCIJ Network
    What's Hot

    What Tennessee school board’s 2025 policy change means for Pride flag displays

    July 31, 2026

    BP puts North Sea oil and gas business up for sale | BP

    July 31, 2026

    Construction of Chinese ‘super-embassy’ to go ahead after High Court upholds planning decision – UK politics live | Andy Burnham

    July 31, 2026
    Facebook X (Twitter) Instagram
    Trending
    • What Tennessee school board’s 2025 policy change means for Pride flag displays
    • BP puts North Sea oil and gas business up for sale | BP
    • Construction of Chinese ‘super-embassy’ to go ahead after High Court upholds planning decision – UK politics live | Andy Burnham
    • Sony pushes forward with ditching discs, despite backlash
    • JetBrains Open-Sources KotlinLLM: Smart Macros That Generate Kotlin Source Code at Runtime and Hot-Reload It Through JDI
    • Microsoft Teams vishing attacks lead to Chaos ransomware attacks
    • New York AG Seeks $36B From Kalshi Over ‘Illegal Gambling’
    • Destructive Fires Char Western Europe
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Friday, July 31
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    Critical Flaw Led to Azure Cosmos DB Pwnage

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKJuly 31, 2026 Cybersecurity No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    A critical vulnerability in the Azure Cosmos DB database service could have allowed attackers to compromise all databases on the service, cybersecurity outfit Wiz reports.

    Referred to as CosmosEscape, the security defect could have allowed an attacker to obtain a platform-wide key and retrieve the primary key of any Cosmos DB account, gaining full read and write access across the service.

    Armed with the key, an attacker could have listed all databases on the service, filtering them by specific organization identifiers, such as subscription and tenant IDs.

    “Chained together, these capabilities could have enabled precision targeting at platform scale: from identifying a specific organization’s databases to compromising them, all from publicly accessible endpoints,” Wiz says.

    According to the cybersecurity firm, because Microsoft uses Cosmos DB to store data across Entra ID, Teams, and Copilot, the vulnerability potentially exposed the tech giant’s databases to unauthorized access.

    The issue could have been exploited through the Gremlin API, a popular graph query language that relies on a custom Gremlin engine, compiling queries into .NET code that was executed in a sandbox.

    Advertisement. Scroll to continue reading.

    Pwning the sandbox

    While the engine enforced restrictions to prevent access beyond Gremlin operations, it did not account for .NET reflection, which Wiz used to build arbitrary code execution primitives.

    “By bypassing the Gremlin sandbox, we’ve gained code execution on the DB Gateway, a service that executes customer queries on their behalf, running on multi-tenant Service Fabric clusters,” Wiz explains.

    The cybersecurity firm then discovered that the gateway was using a signing key to retrieve customer accounts’ primary keys and access their databases, and that the signing key worked across tenants, regions, and even APIs.

    “It was a platform-wide key that could retrieve the primary key for any Cosmos DB account on the service, all through publicly accessible endpoints. We dubbed it the Cosmos Master Key,” Wiz notes.

    Through the master key, the cybersecurity firm’s researchers could access a configuration store containing details on every Cosmos DB account, including names, subscription IDs, tenant IDs, and various other configuration data.

    Pwning the databases

    “The Config Store was itself a Cosmos DB database, meaning it could be queried with the full flexibility of CosmosDB’s SQL engine. It also meant that the Cosmos Master Key could retrieve its primary key – enabling attackers that exploited CosmosEscape to list all accounts in a region, or query by specific tenant ID to identify a specific organization’s databases,” the company explains.

    An attacker with the master key and access to the configuration store could enumerate all Cosmos DB accounts, filter them, and retrieve a target’s primary key to gain full read and write access to all their databases.

    According to Wiz, the attack could also be mounted against private and network-isolated Cosmos DB accounts, as well as Microsoft’s own databases.

    Wiz reported the vulnerability to Microsoft in November 2025. Within two days, Microsoft deployed a hotfix to block the attack vector. In July, the tech giant completed the rollout of a long-term architectural fix across all regions.

    “Microsoft conducted extensive reviews of access logs and found no evidence of unauthorized activity outside of the researcher’s testing activity, and no customer data was accessed. There is no customer action required,” the company said.

    Related: Critical Code Execution Vulnerability Patched in TeamCity

    Related: JFrog Zero-Days Exploited in OpenAI-Hugging Face Hack

    Related: Apple Patches 87 Vulnerabilities in iOS, 155 in macOS Tahoe

    Related: Critical Arista VeloCloud Orchestrator Vulnerability Exploited as Zero-Day

    Azure Cosmos critical Flaw led Pwnage
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Microsoft Teams vishing attacks lead to Chaos ransomware attacks

    Prompted by OpenAI Disclosure, Anthropic Finds Its Own Models Hacked 3 Organizations

    A flaw in Coldcard seed generation lets attackers recreate private keys from the press of a button

    Google says AI helped Chrome fix 1,072 security bugs in two releases

    JetBrains warns of critical TeamCity remote code execution flaw

    South Korea fines telco giant KT $39 million for customer data breach

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    What Tennessee school board’s 2025 policy change means for Pride flag displays

    July 31, 2026

    BP puts North Sea oil and gas business up for sale | BP

    July 31, 2026

    Construction of Chinese ‘super-embassy’ to go ahead after High Court upholds planning decision – UK politics live | Andy Burnham

    July 31, 2026

    Sony pushes forward with ditching discs, despite backlash

    July 31, 2026
    Latest Posts

    Advancing the next era of national science

    July 22, 2026

    Arcee, a US open source AI lab, says Chinese models are not inherently dangerous

    July 22, 2026

    Most bus fares in England to be capped at £2 from January

    July 22, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    What Tennessee school board’s 2025 policy change means for Pride flag displays

    July 31, 2026

    BP puts North Sea oil and gas business up for sale | BP

    July 31, 2026

    Construction of Chinese ‘super-embassy’ to go ahead after High Court upholds planning decision – UK politics live | Andy Burnham

    July 31, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.