Skip to main content

Microsoft APM CVE-2026-45539

| EUVDEUVD-2026-30561 HIGH
Improper Link Resolution Before File Access (CWE-59)
2026-05-15 GitHub_M GHSA-q5pp-gvjg-h7v4
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Publish malicious APM package with symlinks
  2. Delivery
    Victim clones dependency via apm-cli
  3. Exploit
    APM follows symlinks during integration
  4. Execution
    Sensitive files copied to deploy directory
  5. Impact
    Files staged in git by default

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires a developer to actively clone and integrate a malicious APM dependency containing symbolic links. The vulnerability triggers during the package integration process when APM's primitive integrators process .apm/prompts/<x>.prompt.md or .apm/agents/<x>.agent.md files. Default APM configurations are vulnerable - no special settings required. The attack is limited by the need for user interaction (cloning the malicious package) and file read permissions on the target system.

Impact

The CVSS 7.4 score reflects high confidentiality impact with changed scope, requiring network access but user interaction. The attack vector (AV:N/AC:L/PR:N/UI:R) indicates remote unauthenticated exploitation is possible but requires the victim to clone a malicious dependency. The changed scope (S:C) suggests impact beyond the vulnerable component itself. EPSS data not provided. Not listed in CISA KEV, indicating no confirmed active exploitation. The requirement for user interaction (cloning a dependency) and the specific attack scenario reduce likelihood compared to other network-exposed vulnerabilities.

Exploit ScenarioDerived

An attacker creates a malicious APM package containing symbolic links pointing to sensitive files like /etc/passwd or ~/.ssh/id_rsa. When a developer clones this dependency using apm-cli, the tool follows the symlinks and copies the sensitive file contents into the project's deploy directory, potentially exposing them via git commits.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Symbolic link following vulnerability in Microsoft APM dependency manager versions 0.5.4 to 0.12.4 allows remote attackers to read arbitrary files from the victim's system through malicious dependencies. The vulnerability occurs when APM processes symlinks in remote dependencies, following them to read local files and potentially exposing sensitive data that gets staged in git repositories. No public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: version 0.13.0 fixes this vulnerability. Users should upgrade Microsoft APM to version 0.13.0 or later immediately. As a temporary workaround, manually inspect dependencies for symbolic links before integration, particularly in .apm/prompts/ and .apm/agents/ directories. Consider implementing pre-clone validation of remote dependencies and adding deploy directories to .gitignore to prevent accidental commit of exposed files.

Affected VersionsENISA

apm 0.5.4, < 0.13.0

Affected Packages

pypi apm fix: 0.13.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Microsoft APM (apm-cli) is an open-source dependency manager for AI agents. The vulnerability stems from CWE-59 (Improper Link Resolution Before File Access) in two primitive integrators that enumerate package files using Python's Path.glob()/Path.rglob() methods. These methods transparently follow symbolic links when reading files with Path.read_text(). The affected components are located in .apm/prompts/<x>.prompt.md and .apm/agents/<x>.agent.md paths within dependencies.

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 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
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. From 0.5.4 to 0.12.4, two primitive integrators in apm-cli enumerate package files with bare Path.glob() / Path.rglob() calls and read each match with Path.read_text(), transparently following symbolic links. A symlink committed inside a remote APM dependency under .apm/prompts/<x>.prompt.md or .apm/agents/<x>.agent.md is preserved verbatim into apm_modules/ on clone and then dereferenced during integration, with the resolved content written as a regular file into the project's deploy directories. The package content_hash, the pre-deploy SecurityGate scan, and apm audit do not flag this. The deploy roots are not added to the auto-generated .gitignore, so the resulting files are staged by git add by default. This vulnerability is fixed in 0.13.0.

Executive ViewAI

Why It Matters

Microsoft APM dependency manager versions 0.5.4 through 0.12.4 contain a symbolic link following vulnerability that allows remote attackers to read arbitrary files from affected systems through malicious package dependencies, potentially exposing sensitive data stored in git repositories and other locations. Organizations using affected APM versions face data exfiltration risk when processing untrusted or compromised dependencies. Immediate isolation of affected systems from external package sources is critical pending vendor remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict APM operations to isolated build environments without access to sensitive files; (2) Implement file system monitoring and access controls to limit symlink traversal scope; (3) Review and remove untrusted or high-risk dependencies from all affected projects; (4) Use vendored dependencies instead of remote resolution where operationally feasible; (5) Monitor CISA KEV and Microsoft security updates for patch availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Threat Intel
1
1 source
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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