External Control of File Name or Path Affecting apm-cli package, versions [,0.13.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.61% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-APMCLI-17283347
  • published10 Jun 2026
  • disclosed15 May 2026
  • credit‪Mohamed Abdelaal‬‏

Introduced: 15 May 2026

CVE-2026-46383  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade apm-cli to version 0.13.0 or higher.

Overview

apm-cli is a MCP configuration tool

Affected versions of this package are vulnerable to External Control of File Name or Path through the tar.extractall function in legacy-bundle probing on Windows systems running Python versions earlier than 3.12. An attacker can overwrite arbitrary files outside the intended extraction directory by supplying a crafted .tar.gz archive containing Windows absolute paths as member names and inducing a user to execute the install command with this archive.

Note: This is only exploitable if the victim is running on Windows with Python 3.10 or 3.11 and executes the install command on a maliciously crafted local bundle.

CVSS Base Scores

version 4.0
version 3.1