Skip to main content

Microsoft APM CVE-2026-46383

| EUVDEUVD-2026-30559 MEDIUM
Path Traversal (CWE-22)
2026-05-15 GitHub_M GHSA-mq5j-pw29-jcv3
5.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .tar.gz with absolute paths
  2. Delivery
    Distribute via supply chain/phishing
  3. Exploit
    User runs 'apm install'
  4. Execution
    Legacy-bundle probe extracts without validation
  5. Persist
    Overwrite system files
  6. Impact
    Compromise 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

apm < 0.13.0

Affected Packages

pypi apm-cli fix: 0.13.0
euvd apm fix: 0.13.0

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

Vendor (GitHub_M) PRIMARY 5.5 MEDIUM
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
May 15, 2026 - 18:02 EUVD

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

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy