Skip to content
RCE Advisory Advanced CVE-2026-21522

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.

Yuval Avrahami Follow

Originally disclosed on Microsoft

Critical 6.7 View original

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

The original report as published on the Microsoft Security Response Center, by Yuval Avrahami. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by Yuval Avrahami

View all

8 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.