Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .tar.gz with absolute paths
-
DeliveryDistribute via supply chain/phishing
-
ExploitUser runs 'apm install'
-
ExecutionLegacy-bundle probe extracts without validation
-
PersistOverwrite system files
-
ImpactCompromise integrity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Windows operating system with Python 3.10 or 3.11 runtime (Python 3.12+ is immune due to tarfile module hardening). Victim must manually execute 'apm install' command on attacker-supplied .tar.gz file that fails plugin-format validation and triggers legacy-bundle probe. File must contain tar members with Windows absolute paths (drive letter prefixes like D:/ or C:/) to exploit boundary failure. Exploitation is limited by requirement for user interaction (social engineering) and local access to target system - attackers must deliver malicious archives through supply chain compromise, phishing, or other distribution mechanisms that convince developers to install untrusted bundles. Remote exploitation is not possible; attacker needs user to voluntarily run installation command. Non-Windows platforms (Linux, macOS) are not affected as they use different filesystem path semantics that do not recognize drive-letter absolute paths. |
| Impact | Real-world risk is moderate despite the 5.5 CVSS score. The attack requires local access (AV:L) and user interaction (UI:R) - specifically, a developer must manually run 'apm install' on an attacker-controlled .tar.gz file. The high integrity impact (I:H) reflects ability to overwrite system files, but no confidentiality breach or availability impact. No EPSS score provided, but the local vector and social engineering prerequisite significantly limit exploit scalability compared to network-based vulnerabilities. Not listed in CISA KEV, indicating no confirmed active exploitation. No public POC identified at time of analysis. Primary risk scenario: supply chain attack where malicious bundles are distributed via compromised repositories or phishing to AI agent development teams. The Windows-only nature further constrains affected population. Python 3.12+ deployments are inherently immune due to upstream tarfile hardening, providing a natural migration path. This is a legitimate local privilege boundary issue requiring user cooperation, not a critical remote threat - prioritize for Windows development environments using legacy Python versions. |
| Exploit ScenarioDerived | An attacker creates a malicious .tar.gz archive with tar members using Windows absolute paths (e.g., member name 'D:/ProgramData/malicious.dll' or 'C:/Windows/System32/evil.exe'). They distribute this archive to AI agent developers via compromised package repositories, phishing emails posing as legitimate APM bundles, or supply chain injection. When a Windows developer running Python 3.10/3.11 executes 'apm install malicious.tar.gz', APM's legacy-bundle probe extracts the archive without validating member paths, writing attacker-controlled files to arbitrary system locations and compromising system integrity. No public POC exists at time of analysis, but the exploitation technique is straightforward given the described tar.extractall() behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 15, 2026
Archive extraction boundary failure in Microsoft APM's legacy-bundle probe allows local attackers to overwrite arbitrary files on Windows systems running Python 3.10 or 3.11. When users run 'apm install' on a malicious .tar.gz file, untrusted tar members bypass path validation, enabling absolute path writes (e.g., D:/...) that compromise system integrity. Fixed in version 0.13.0. No active exploitation confirmed at time of analysis, but the local attack vector with user interaction required (CVSS AV:L/UI:R) limits real-world risk to social engineering scenarios targeting AI agent developers on Windows platforms.
RemediationAI
Upgrade Microsoft APM to version 0.13.0 or later, which implements proper path validation for tar member extraction in the legacy-bundle probe. Vendor advisory available at https://github.com/microsoft/apm/security/advisories/GHSA-mq5j-pw29-jcv3. For environments unable to immediately upgrade, implement compensating controls: (1) Upgrade Python runtime to 3.12 or later, which provides tarfile module hardening that blocks absolute path traversal independent of APM version - this is the strongest mitigation but may require application compatibility testing; (2) Restrict 'apm install' operations to trusted bundle sources only through organizational policy and code review processes - reduces attack surface but relies on human vigilance; (3) Run APM operations in sandboxed/containerized environments with minimal filesystem permissions to limit blast radius of arbitrary file writes - adds operational complexity and may break legitimate workflows requiring system-wide package installation. Note that workarounds do not eliminate the vulnerability, only reduce exploitation likelihood or impact.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Microsoft APM is a community-driven dependency manager for AI agents. The vulnerability stems from CWE-22 (Path Traversal) in the legacy-bundle installation probe mechanism. When processing .tar.gz archives not recognized as standard plugin-format bundles, APM attempts to extract them as legacy '--format apm' bundles. On Python versions 3.10 and 3.11 (but not 3.12+, which includes enhanced path validation), the code uses raw tar.extractall() without sanitizing Windows absolute paths. The Windows filesystem allows absolute drive-prefixed paths like 'D:/arbitrary/location' in tar member names, which bypass Unix-style '../' traversal checks. This Windows-specific weakness in archive handling predates Python 3.12's security improvements to the tarfile module. The affected CPE (cpe:2.3:a:microsoft:apm:*:*:*:*:*:*:*:*) indicates all versions prior to 0.13.0 on Windows with Python 3.10/3.11 are vulnerable.
Know when Apm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Microsoft APM is an open-source, community-driven dependency manager for AI agents. Prior to 0.13.0, Microsoft APM contains a Windows-specific archive extraction boundary failure in the legacy-bundle probe used by apm install <bundle> on supported Python 3.10 and 3.11 runtimes. When apm install is given a local .tar.gz that is not recognized as a plugin-format bundle, APM probes whether it is a legacy --format apm bundle. On Python versions earlier than 3.12, that probe extracts untrusted tar members with raw tar.extractall() without rejecting Windows absolute member names such as D:/.... This vulnerability is fixed in 0.13.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-30559
GHSA-mq5j-pw29-jcv3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB