CVE-2026-45539
HIGH 7.4CVSS 3.1Microsoft APM: Symlinks under `.apm/prompts/` and `.apm/agents/` are dereferenced during `apm install`, copying host-local file contents into the project tree
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.
- Published
- 15 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200CWE-59
- Also known as
- GHSA-q5pp-gvjg-h7v4PYSEC-2026-2377
- Sources
- NVDJSONOSV GHSA-q5pp-gvjg-h7v4JSONOSV PYSEC-2026-2377JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | apm | >= 0.5.4, < 0.13.0 | 0.13.0 |
References
- https://github.com/microsoft/apm/security/advisories/GHSA-q5pp-gvjg-h7v4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45539 · ADVISORY
- https://github.com/microsoft/apm/commit/f85b9f54ad303159f9c448268eb7005c319fe02a · WEB
- https://github.com/microsoft/apm · PACKAGE
- https://github.com/microsoft/apm/releases/tag/v0.13.0 · WEB
- https://pypi.org/project/apm · PACKAGE
- https://github.com/advisories/GHSA-q5pp-gvjg-h7v4 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 May 2026)