Microsoft ACI Confidential Containers Elevation of Privilege Vulnerability (CVE-2026-21522)
A command injection flaw in Azure Compute Gallery lets an authorised attacker run arbitrary commands inside an affected ACI container. In confidential-container setups this could expose secrets or data meant to be protected by the attested environment.
Originally disclosed on Microsoft
Description
Improper neutralization of special elements used in a command ('command injection') in Azure Compute Gallery allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who exploited this vulnerability could execute arbitrary commands within the affected ACI container’s context, allowing them to run code with the same privileges as the compromised container. In confidential‑container scenarios, this could also let an attacker access sensitive secrets or data protected by the attested environment.
Azure Compute Gallery
Azure Compute Gallery
Microsoft
Microsoft
Customer Action Required
Yes
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 improper neutralisation of special elements in a command, allowing injected commands to run in the container context.
Impact
An authorised attacker could run arbitrary commands with the container's privileges and, in confidential-container scenarios, could access secrets or protected data.
What the attacker needed
Authorised access to the affected service
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.
A command injection bug means the software builds a system command out of input it does not clean properly, so an attacker can slip in extra commands. Here the attacker already needs some access, and can then run their own code inside a container, which is an isolated box running an application. In confidential containers, which are meant to keep data hidden even from the cloud operator, that could also expose protected secrets.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.