Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
AnalysisAI
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.
Technical ContextAI
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.
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.
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30561
GHSA-q5pp-gvjg-h7v4