Skip to content
RCE Advisory Advanced CVE-2026-21226

Azure Core shared client library for Python Remote Code Execution Vulnerability (CVE-2026-21226)

The Azure Core shared client library for Python deserialises untrusted data, which lets an authorised attacker run code over a network. Exploitation needs environment-specific information and a valid token that the attacker has altered to be malicious.

Muhammad Fadilullah Dzaki Follow

Originally disclosed on Microsoft

High 7.5 View original

Description

Deserialization of untrusted data in Azure Core shared client library for Python allows an authorized attacker to execute code over a network.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to gather information specific to the environment of the targeted component.

FAQ

According to the CVSS metric, privileges required is low (PR:L) but the attack occurs remotely. What does that mean for this vulnerability? To exploit this vulnerability, an attacker would be required change a valid token to be malicious to the service/app which would require developer-type authorization.

Azure Core shared client library for Python

Azure Core shared client library for Python

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 library deserialises data from a token or payload without sufficiently restricting which types can be reconstructed, allowing attacker-controlled objects to be instantiated.

Impact

An authorised attacker with developer-type authorisation could execute code remotely, but success requires gathering environment-specific information, so exploitation is not trivial.

What the attacker needed

Developer-type authorisation; valid token that can be altered; knowledge of the target environment

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.

Deserialisation is when a program turns stored or transmitted data back into live objects. If that data comes from someone untrusted, the program can be tricked into building something harmful and running it. Here an attacker who already has some developer-level access could change a token so the library processes malicious data and executes code.

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.