Azure Cosmos DB Elevation of Privilege Vulnerability (CVE-2026-87701)
Azure Cosmos DB contained an injection flaw in how a downstream component handled special elements in output. An authorised attacker could use it to elevate privileges over a network, though Microsoft states the issue is already fully mitigated.
Originally disclosed on Microsoft
Description
Improper 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.
FAQ
Why are there no links to an update or instructions with steps that must be taken to protect from this vulnerability? This vulnerability has already been fully mitigated by Microsoft. There is no action for users of this service to take. The purpose of this CVE is to provide further transparency. Please see Toward greater transparency: Unveiling Cloud Service CVEs for more information.
Azure Cosmos DB
Azure Cosmos DB
Microsoft
Microsoft
Customer Action Required
No
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the service failed to neutralise special elements in output consumed by a downstream component, allowing injected content to be interpreted as instructions.
Impact
An authorised attacker could elevate privileges over a network, but Microsoft states the vulnerability has already been fully mitigated.
What the attacker needed
Some authorised access to the service; network reachability
The fix
It was fixed by Microsoft on the service side, with no action required from users.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An injection bug means a program mixes untrusted input into something it later builds or runs, so the input can change the program's behaviour. Here the affected service is a cloud database, and someone who already has some access could use the flaw to gain more rights than they should have. Microsoft says it has already been fixed on its side, so customers do not need to do anything.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.