{"answers":{"affected":"3 open source packages ship an affected version, including azure-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-21226 in the wild and no public exploit code.","fix":"Upgrade azure-core to 1.38.0 or later.","what":"CVE-2026-21226 is a high-severity unsafe deserialization vulnerability in Microsoft Azure Core shared client library for Python, published on 13 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-21226 and fix it if it is affected.\n\nWhat it is: CVE-2026-21226 is a high-severity unsafe deserialization vulnerability in Microsoft Azure Core shared client library for Python, published on 13 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-21226 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- azure-core (PyPI): affected all versions; fixed in 1.38.0\n- azure-core (PyPI): affected all versions; fixed in 1.38.0\n- azure-core (PyPI): affected all versions; fixed in 1.38.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-21226/ (Markdown: https://insights.sbomify.com/CVE-2026-21226/index.md)","id":"CVE-2026-21226","markdown":"https://insights.sbomify.com/CVE-2026-21226/index.md","name":"CVE-2026-21226","record":{"aliases":["CLEANSTART-2026-DQ66117","CLEANSTART-2026-RG68334","ECHO-8823-3581-0fe0","GHSA-jm66-cg57-jjv5","MINI-cpgh-8xpx-ff7v","MINI-pf9c-2339-w953","MINI-v56f-mcq2-2mgm","MINI-v92h-fgq8-5827","MINI-xp6h-24pc-477f","PYSEC-2026-1208","ROOT-APP-PYPI-CVE-2026-21226","SUSE-SU-2026:0476-1","SUSE-SU-2026:20617-1","SUSE-SU-2026:20621-1","openSUSE-SU-2026:10161-1","openSUSE-SU-2026:20292-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Azure Core Python library","requires_auth":"low_privilege","summary":"An authorized attacker can execute arbitrary code remotely via unsafe deserialization in the Azure Core Python library.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"azure_core_shared_client_library","vendor":"microsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Deserialization of untrusted data in Azure Core shared client library for Python allows an authorized attacker to execute code over a network.","ecosystems":["PyPI","SUSE:Linux Enterprise High Availability Extension 16.0","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Module for Public Cloud 15 SP7","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Azure Core shared client library for Python Remote Code Execution Vulnerability","id":"CVE-2026-21226","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":12,"n_references":1,"next":{"headline":"Azure Logic Apps Elevation of Privilege Vulnerability","id":"CVE-2026-21227"},"packages":[{"ecosystem":"PyPI","fixed":["1.38.0"],"introduced":["0"],"last_affected":[],"package":"azure-core","purl":null,"source":"GHSA-jm66-cg57-jjv5"},{"ecosystem":"PyPI","fixed":["1.38.0"],"introduced":["0"],"last_affected":[],"package":"azure-core","purl":"pkg:pypi/azure-core","source":"GHSA-jm66-cg57-jjv5"},{"ecosystem":"PyPI","fixed":["1.38.0"],"introduced":["0"],"last_affected":[],"package":"azure-core","purl":"pkg:pypi/azure-core","source":"PYSEC-2026-1208"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 16.0","fixed":["1.32.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/suse/python-azure-core\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2016.0","source":"SUSE-SU-2026:20617-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["1.30.0-150400.11.6.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/suse/python-azure-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2026:0476-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["1.30.0-150400.11.6.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/suse/python-azure-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-SU-2026:0476-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["1.30.0-150400.11.6.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/suse/python-azure-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP6","source":"SUSE-SU-2026:0476-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP7","fixed":["1.30.0-150400.11.6.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/suse/python-azure-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP7","source":"SUSE-SU-2026:0476-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["1.32.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/suse/python-azure-core\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20621-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.30.0-150400.11.6.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/opensuse/python-azure-core\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0476-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.32.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/opensuse/python-azure-core\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20292-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.38.0-2.1"],"introduced":["0"],"last_affected":[],"package":"python-azure-core","purl":"pkg:rpm/opensuse/python-azure-core\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10161-1"}],"prev":{"headline":"Azure Connected Machine Agent Elevation of Privilege Vulnerability","id":"CVE-2026-21224"},"products":["Azure Core shared client library for Python"],"published":"2026-01-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-30","vendors":["Microsoft"]},"summary":"An authorized attacker can execute arbitrary code remotely via unsafe deserialization in the Azure Core Python library.","url":"https://insights.sbomify.com/CVE-2026-21226/"}