Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114110 Overview
CVE-2026-114110 is a path traversal vulnerability in Astral uv, a Python package installer and resolver, affecting versions prior to 0.11.6. The flaw resides in how uv processes RECORD entries inside Python wheel archives during package uninstallation. An attacker who publishes a malicious wheel can include relative traversal paths such as ../../etc/passwd in the RECORD file. When a user later uninstalls the package, uv follows those paths and deletes files outside the installation prefix. The weakness is classified as CWE-23: Relative Path Traversal.
Critical Impact
A malicious Python wheel can cause arbitrary file deletion on the victim host at uninstall time, enabling system corruption, denial of service, or destruction of sensitive data.
Affected Products
- Astral uv versions prior to 0.11.6
- Python environments managed by vulnerable uv releases
- CI/CD pipelines and developer workstations consuming untrusted wheels through uv
Discovery Timeline
- 2026-10-21 - CVE-2026-114110 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114110
Vulnerability Analysis
Astral uv is a fast Python package manager written in Rust. When installing a wheel, uv reads the RECORD metadata file, which lists every file the wheel installs along with its hash and size. The same RECORD is consulted at uninstall time to determine which paths to remove.
Vulnerable versions of uv do not validate that each path in RECORD stays within the installation prefix. An attacker can author a wheel whose RECORD lists entries with relative traversal segments. During uninstall, uv resolves these paths against the site-packages directory and deletes the resulting targets, including files owned by the user outside the Python environment.
Because wheels are routinely pulled from public indexes and private mirrors, the attack path is network-reachable without authentication. Exploitation requires only that a victim install and later uninstall the attacker-controlled package.
Root Cause
The root cause is missing path canonicalization and prefix containment checks on RECORD entries before file removal. uv trusts the archive metadata rather than enforcing that every target resolves to a path under the installation directory.
Attack Vector
An attacker publishes a malicious wheel to PyPI, a private index, or any location a developer may install from. The wheel's RECORD references files such as ../../../home/user/.ssh/authorized_keys or system configuration files. When the victim runs uv pip uninstall <package>, uv deletes those referenced files. The vulnerability also enables supply chain attacks through typosquatting or dependency confusion. See the GitHub Security Advisory GHSA-pjjw-68hj-v9mw and the VulnCheck Advisory on Arbitrary File Deletion for technical details.
Detection Methods for CVE-2026-114110
Indicators of Compromise
- Wheel archives whose RECORD entries contain .. sequences or absolute paths outside the target site-packages directory.
- Unexpected file deletions on developer workstations or build agents shortly after uv pip uninstall operations.
- Installation of packages from untrusted or newly registered authors on PyPI or private indexes.
- uv process activity touching paths outside the active virtual environment prefix.
Detection Strategies
- Inspect wheels prior to installation by extracting the RECORD file and flagging any entry containing .., leading /, or Windows drive letters.
- Monitor file system telemetry for uv processes performing unlink or rmdir operations on paths outside of site-packages or the project virtual environment.
- Correlate package manager execution logs with subsequent deletions of sensitive files such as SSH keys, shell configurations, or system binaries.
Monitoring Recommendations
- Enable endpoint file integrity monitoring for user home directories, /etc, and CI runner working directories.
- Audit package installations from internal indexes and quarantine wheels from unverified publishers.
- Alert on invocations of uv versions below 0.11.6 across managed workstations and build infrastructure.
How to Mitigate CVE-2026-114110
Immediate Actions Required
- Upgrade Astral uv to version 0.11.6 or later across developer workstations, container images, and CI/CD pipelines.
- Inventory all hosts running uv and prioritize systems that install packages from untrusted or public indexes.
- Review recent uv pip uninstall activity on affected hosts for signs of unexpected file deletion.
Patch Information
Astral addressed the vulnerability in uv0.11.6 by validating that every RECORD entry resolves to a path contained within the installation prefix before deletion. Refer to the GitHub Security Advisory GHSA-pjjw-68hj-v9mw for the official fix and release notes.
Workarounds
- Restrict uv to installing wheels only from trusted, curated internal indexes until all hosts are patched.
- Run uv under a least-privileged account that cannot delete sensitive system or user files outside the virtual environment.
- Use ephemeral containers or sandboxed build environments so that uninstall-time file deletions cannot affect persistent state.
- Pre-scan incoming wheels and reject any whose RECORD entries contain relative traversal sequences or absolute paths.
# Upgrade uv to a patched release
pip install --upgrade "uv>=0.11.6"
# Verify the installed version
uv --version
# Quick check: list RECORD entries that look like traversal attempts
unzip -p suspicious.whl '*dist-info/RECORD' | grep -E '(^/|\.\./|^[A-Za-z]:)'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

