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