Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apm-cli
  4. ›
  5. CVE-2026-46383

CVE-2026-46383: Microsoft APM: Windows absolute-path tar member overwrite during legacy-bundle probing in `apm install`

May 15, 2026

Microsoft APM contains a Windows-specific archive extraction boundary failure in the legacy-bundle probe used by apm install <bundle> on supported Python 3.10 and 3.11 runtimes. When apm install is given a local .tar.gz that is not recognized as a plugin-format bundle, APM probes whether it is a legacy --format apm bundle. On Python versions earlier than 3.12, that probe extracts untrusted tar members with raw tar.extractall() without rejecting Windows absolute member names such as D:/....

This issue is still present on the latest main commit at review time (2b7a931d58a73cbfc0bcf086cea332d204075e27) and on the latest release (v0.12.4). In both cases, a crafted legacy-looking tarball caused an external file to be created or overwritten outside the temporary extraction root before apm install finished rejecting the bundle with the expected legacy-format usage error.

This report is scoped narrowly to Windows installations running Python 3.10 or 3.11.

References

  • github.com/advisories/GHSA-mq5j-pw29-jcv3
  • github.com/microsoft/apm/commit/77d1dda8303c8d7ccb6148788a6274fdece98499
  • github.com/microsoft/apm/releases/tag/v0.13.0
  • github.com/microsoft/apm/security/advisories/GHSA-mq5j-pw29-jcv3
  • nvd.nist.gov/vuln/detail/CVE-2026-46383

Code Behaviors & Features

Detect and mitigate CVE-2026-46383 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.13.0

Fixed versions

  • 0.13.0

Solution

Upgrade to version 0.13.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

pypi/apm-cli/CVE-2026-46383.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:20 +0000.