Skip to content
RCE Advisory Advanced CVE-2026-21531

Azure SDK for Python Remote Code Execution Vulnerability (CVE-2026-21531)

The Azure AI Language Conversations Authoring SDK deserialised untrusted data from a continuation token. An attacker who supplied a crafted token could execute code on the system using the SDK.

Muhammad Fadilullah Dzaki Follow

Originally disclosed on Microsoft

High 9.8 View original

Description

Deserialization of untrusted data in Azure SDK allows an unauthorized attacker to execute code over a network.

FAQ

How could an attacker exploit this vulnerability? An attacker could supply a maliciously crafted continuation token that, when processed by the Azure AI Language Conversations Authoring SDK, triggers unsafe deserialization and executes attacker‑controlled code on the system using the SDK.

Azure SDK

Azure SDK

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Muhammad Fadilullah Dzaki. 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 the SDK deserialised a continuation token without validating or safely parsing it, allowing attacker-controlled data to become executable objects.

Impact

An unauthorised attacker could execute code over a network on a system using the SDK, though the text gives no further detail on conditions or limits.

What the attacker needed

Use of the affected Azure SDK; attacker can supply a continuation token

The fix

The SDK should not deserialise untrusted continuation tokens; it should use a safe format and validate the token before processing.

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.

Some programs save their state by turning it into a string (a 'token') and later turning that string back into objects. If the program trusts that string without checking it, an attacker can craft one that makes the program run their own code. Here the Azure SDK did that with a continuation token, so a malicious token could lead to code execution.

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 Muhammad Fadilullah Dzaki

View all

4 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.