{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45539","id":"CVE-2026-45539","title":"Microsoft APM: Symlinks under `.apm/prompts/` and `.apm/agents/` are dereferenced during `apm install`, copying host-local file contents into the project tree","description":"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>.agen","descriptionLong":"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":"2026-05-15T16:02:37.591Z","updated":"2026-10-28T02:30:26.641481994Z","reserved":"2026-05-12T17:48:47.878Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["microsoft apm"],"affectedProducts":[{"vendor":"microsoft","product":"apm","defaultStatus":null,"versions":[{"version":">= 0.5.4, < 0.13.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"apm","purl":"pkg:pypi/apm","ranges":[">=0.5.4 <0.13.0"],"fixed":["0.13.0"],"advisory":"GHSA-q5pp-gvjg-h7v4"}],"cwes":["CWE-59","CWE-200"],"aliases":["GHSA-q5pp-gvjg-h7v4","PYSEC-2026-2377"],"references":[{"url":"https://github.com/microsoft/apm/security/advisories/GHSA-q5pp-gvjg-h7v4","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45539.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45539","tags":["advisory"]},{"url":"https://github.com/microsoft/apm/commit/f85b9f54ad303159f9c448268eb7005c319fe02a","tags":["web"]},{"url":"https://github.com/microsoft/apm","tags":["package"]},{"url":"https://github.com/microsoft/apm/releases/tag/v0.13.0","tags":["web"]},{"url":"https://pypi.org/project/apm","tags":["package"]},{"url":"https://github.com/advisories/GHSA-q5pp-gvjg-h7v4","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00654,"epssPercentile":0.52115,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45539","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45539","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45539","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q5pp-gvjg-h7v4","ok":true,"note":"GHSA-q5pp-gvjg-h7v4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45539","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}