SB2026052060 - Path traversal in uv
Published: May 20, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: N/A)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper limitation of a pathname to a restricted directory in entry point generation for console_scripts and gui_scripts when installing a malicious wheel containing a crafted entry point specification. A remote attacker can induce the target into installing a malicious wheel to execute arbitrary code.
The generated executable may be written outside of the environment's scripts directory, including into a directory already present on the user's PATH, which can shadow or overwrite an existing executable.
Remediation
Install update from vendor's website.