Skip to content
HighVulnerability

CVE-2026-45539: Microsoft APM symlink following during prompt and agent file integration

Identifier
CVE-2026-45539
Published
Record updated
View JSON
Affected
  • apm >= 0.5.4, <= 0.12.4
Fixed in
0.13.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.1%

Summary

From 0.5.4 to 0.12.4, two primitive integrators in apm-cli enumerate package files with Path.glob() and Path.rglob() and read matches with Path.read_text(), following symbolic links transparently. A symlink committed inside a remote APM dependency under .apm/prompts/ or .apm/agents/ is preserved into apm_modules/ on clone, then dereferenced during integration, and the resolved content is 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.

Mitigation

Fixed in 0.13.0.