PT-2026-41316 · Microsoft · Apm

Published

2026-05-15

·

Updated

2026-05-15

·

CVE-2026-45539

CVSS v3.1

7.4

High

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
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/.prompt.md or .apm/agents/.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.

Exploit

Fix

Link Following

Information Disclosure

Weakness Enumeration

Related Identifiers

CVE-2026-45539

Affected Products

Apm