Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious APM package with symlinks
-
DeliveryVictim clones dependency via apm-cli
-
ExploitAPM follows symlinks during integration
-
ExecutionSensitive files copied to deploy directory
-
ImpactFiles 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionCVE.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
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.
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
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-30561
GHSA-q5pp-gvjg-h7v4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB