CVE-2026-45539

Source
https://cve.org/CVERecord?id=CVE-2026-45539
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45539.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45539
Aliases
Published
2026-05-15T16:02:37.591Z
Modified
2026-08-07T11:31:23.899845142Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Microsoft APM: Symlinks under `.apm/prompts/` and `.apm/agents/` are dereferenced during `apm install`, copying host-local file contents into the project tree
Details

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.readtext(), 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 apmmodules/ 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-200",
        "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45539.json"
}
References

Affected packages

Git / github.com/microsoft/apm

Affected ranges

Type
GIT
Repo
https://github.com/microsoft/apm
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.5.4"
        },
        {
            "fixed": "0.13.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45539.json"