Information Disclosure in apm (CVE-2026-45539)
Summary
Vulnerability in apm (CVE-2026-45539). Confidential information can be exposed externally. Exploitable via content_hash. Mitigation: upgrade to 0.13.0 or later.
Original description
The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-45539 has been found in apm.
Attackers can target a specific entry point like content_hash over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 7.4/10.
What to do: upgrade apm to 0.13.0 or later.
If unsure, ask your IT team or search "apm CVE-2026-45539" on the vendor's site.
CVE-2026-45539 (apm) — CWE-200 / CVSS v3 7.4
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: content_hash / SecurityGate / PromptIntegrator.find_prompt_files / PromptIntegrator.copy_prompt
Patched: 0.13.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Information disclosure (CWE-200) exists in apm. Attackers reach the vulnerable code path via content_hash without authentication.
Check the vendor advisory for the affected versions of apm. Attack surface: content_hash / SecurityGate / PromptIntegrator.find_prompt_files / PromptIntegrator.copy_prompt.
Severity: High (CVSS 7.4/10). Confidential information can be exposed externally.
Update to 0.13.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'apm' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'apm' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
apmを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade apm to 0.13.0ステージング環境で 0.13.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com