CVE-2026-21226: Azure core Azure Core Is Vulnerable To Vulnerability
HIGHCVE-2026-21226 is a HIGH (CVSS 7.5) azure core is vulnerable to vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Azure core libraries in the PyPI ecosystem. The issue involves azure core is vulnerable to deserialization of untrusted data. Remediation is available by upgrading affected packages to version 1.38.0.
CVE-2026-21226 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-21226
To remediate this vulnerability, upgrade all affected Azure core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install azure-core>=1.38.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show azure-core
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-21226, inspect your installed packages using pip:
pip show azure-core
Analyze the terminal output to locate any version of Azure core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.38.0), your application is affected.
Note: The pip show azure-core command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Azure core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-21226 Affected Azure core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
azure-core
|
PyPI |
< 1.38.0
|
1.38.0
|
References
Frequently Asked Questions
What is CVE-2026-21226?
Which Azure core versions are affected?
What version fixes CVE-2026-21226?
Is azure-core affected?
What is the CVSS score of CVE-2026-21226?
What CWE is associated with CVE-2026-21226?
How can I check PyPI dependencies for CVE-2026-21226?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jm66-cg57-jjv5",
"modified" : "2026-01-13T21:57:47Z",
"published" : "2026-01-13T21:31:44Z",
"aliases" : [ "CVE-2026-21226" ],
"summary" : "Azure Core is vulnerable to deserialization of untrusted data",
"details" : "Deserialization of untrusted data in Azure Core shared client library for Python allows an authorized attacker to execute code over a network.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "azure-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.38.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-21226"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Azure/azure-sdk-for-python"
}, {
"type" : "WEB",
"url" : "https://github.com/Azure/azure-sdk-for-python/blob/6d2e6431ea0991861640e449e51e894247a7771a/sdk/core/azure-core/CHANGELOG.md#1380-2026-01-12"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21226"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-13T21:57:47Z",
"nvd_published_at" : "2026-01-13T19:16:23Z"
}
}