The critical detail in CVE-2026-87701 is that the injection doesn't fire inside Cosmos DB — it fires through a downstream consumer that interprets returned data as executable. This fundamentally shifts the threat model. An attacker with valid Cosmos DB credentials can populate malicious payloads that silently propagate through every service trusting that database: Azure Functions, Synapse pipelines, Power BI connectors, custom compute layers. The CVSS 9.6 score is analytically misleading because it frames a narrow exploit (authorized user, data-plane access) while the actual blast radius extends to every downstream execution environment that consumed poisoned data. The 0.4 gap from 10.0 is almost certainly the downstream dependency — remove the consumer that interprets the payload, and you're measuring a database write that nobody acts on. But this framing actually expands the danger: a credentialed attacker has persistent, low-noise positioning to poison data over time, testing which downstream consumers will execute payloads, establishing footholds that survive credential rotation because the data layer is trusted by default. The patch almost certainly added protocol-level signals, type constraints, or escaping metadata — a truly passive carrier wouldn't require fixing. However, this creates a detection gap: organizations running deprecated SDK versions or migration-era query patterns may still expose the vulnerable flow even after patching the current surface. Interrogate your specific integration pattern: does your connector or compute function treat Cosmos DB returns as executable rather than inert? Azure's native logging may not capture the query manipulation pathway that triggers downstream execution — supplemental instrumentation could be required. The incident response calculus changes here: you're not containing a database breach, you're containing every downstream execution environment that consumed data during the compromise window.
CVE-2026-87701
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper neutralization of special elements in output used by a downstream component ('injection') in Azure Cosmos DB allows an authorized attacker to elevate privileges over a network.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysisUntrusted input crosses into a downstream interpreter — SQL, a shell, an HTML page, an LDAP query — without being kept separate from the commands around it, so the attacker's data is read as instructions. This is the parent class behind SQL injection, cross-site scripting, and command injection alike. The durable fix is the same everywhere: keep data and code apart at every boundary, using parameterisation or context-aware encoding rather than building interpreted strings by concatenation.
General guidance for the injection class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataThere is no version to upgrade to and no patch to apply. Every affected install stays exposed until the vendor ships a fix — or somebody else builds one.
Free. We build fixes in the order the community asks for them — and we’ll tell you the moment this one lands.
We develop and verify an original fix where the vendor hasn’t, from $2,300. Deployed to your staging first — never straight to production.
Scope it with usSee what else the community needs solved on the solutions-needed board.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-87701 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesThe critical detail in CVE-2026-87701 is that the injection doesn't fire inside Cosmos DB — it fires through a downstream consumer that interprets returned data as executable. This fundamentally shifts the threat model. An attacker with valid Cosmos DB credentials can populate malicious payloads that silently propagate through every service trusting that database: Azure Functions, Synapse pipelines, Power BI connectors, custom compute layers. The CVSS 9.6 score is analytically misleading because it frames a narrow exploit (authorized user, data-plane access) while the actual blast radius extends to every downstream execution environment that consumed poisoned data. The 0.4 gap from 10.0 is almost certainly the downstream dependency — remove the consumer that interprets the payload, and you're measuring a database write that nobody acts on. But this framing actually expands the danger: a credentialed attacker has persistent, low-noise positioning to poison data over time, testing which downstream consumers will execute payloads, establishing footholds that survive credential rotation because the data layer is trusted by default. The patch almost certainly added protocol-level signals, type constraints, or escaping metadata — a truly passive carrier wouldn't require fixing. However, this creates a detection gap: organizations running deprecated SDK versions or migration-era query patterns may still expose the vulnerable flow even after patching the current surface. Interrogate your specific integration pattern: does your connector or compute function treat Cosmos DB returns as executable rather than inert? Azure's native logging may not capture the query manipulation pathway that triggers downstream execution — supplemental instrumentation could be required. The incident response calculus changes here: you're not containing a database breach, you're containing every downstream execution environment that consumed data during the compromise window.
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-87701 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data