{"id":"CVE-2026-45539","published":"2026-05-15T16:02:37Z","modified":"2026-05-15T16:41:24Z","title":"Microsoft APM: Symlinks under `.apm/prompts/` and `.apm/agents/` are dereferenced during `apm install`, copying…","vendor":"Microsoft","product":"apm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00654,"percentile":0.52256,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/microsoft/apm/security/advisories/GHSA-q5pp-gvjg-h7v4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.45},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"microsoft","product":"apm","versions":[">= 0.5.4, < 0.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-15T16:41:16.377667Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apm","vulnerableRanges":[">=0.5.4, <0.13.0"],"patched":["0.13.0"],"from":["GHSA-q5pp-gvjg-h7v4","PYSEC-2026-2377"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-30561","exploited":false,"provenance":"source"}}