# Astral uv arbitrary file deletion via RECORD path traversal

Source: https://junglewise.ai/threats/astral-uv-arbitrary-file-deletion-via-record-path-traversal-5a8fbf07  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-10. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

Severity: low · CVSS 2.1 · Published 2026-04-10

uv is a fast Python package and project manager. A vulnerability in how it handles package uninstallation could allow a specially crafted, malicious package to delete arbitrary files on a user's system. To be affected, a user must manually install and then uninstall a malformed package, which could lead to the loss of important system or personal files.

Technologies: [uv (PyPI)](https://junglewise.ai/threats/technologies/uv). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 2.1, published 10 April 2026.

**Which products and versions are affected?** uv (PyPI) <= 0.11.5.

**Is there a fix for This vulnerability?** A patch was published on 2026-04-10: Fixed in version 0.11.6 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is This vulnerability attacked?** It is attacked over the network, in a software library.

**Am I affected?** Check whether you run uv (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A path traversal vulnerability exists in uv versions 0.11.5 and earlier due to insufficient validation of RECORD entries in Python wheels. The RECORD file, which lists files to be removed during uninstallation, can contain relative paths (e.g., using '../') that point outside the intended installation directory. While uv does not use these paths for file creation, it honors them during the uninstallation process. An attacker can exploit this by distributing a malformed wheel that, when uninstalled by a user, triggers the deletion of arbitrary files the user has permissions to modify. Exploitation requires the attacker to guess the directory depth of the installation prefix. The issue is fixed in version 0.11.6 by validating and stripping invalid RECORD entries.

## Affected products

- Astral uv <= 0.11.5

## Timeline

- 2026-04-09: disclosed
- 2026-04-10: advisory
- 2026-04-10: patched: Fixed in version 0.11.6

## References

- [https://api.github.com/users/konstin](https://api.github.com/users/konstin)
- [https://github.com/konstin](https://github.com/konstin)
- [https://api.github.com/users/konstin/gists%7B/gist_id%7D](https://api.github.com/users/konstin/gists%7B/gist_id%7D)
- [https://api.github.com/users/konstin/repos](https://api.github.com/users/konstin/repos)
- [https://avatars.githubusercontent.com/u/6826232?v=4](https://avatars.githubusercontent.com/u/6826232?v=4)
- [https://api.github.com/users/konstin/events%7B/privacy%7D](https://api.github.com/users/konstin/events%7B/privacy%7D)

## Related threats

- [Astral uv arbitrary file deletion through RECORD entries](https://junglewise.ai/threats/duplicate-advisory-uv-vulnerable-to-arbitrary-file-deletion-through-b611c497)
- [Astral uv compromised emSign CA root certificate](https://junglewise.ai/threats/pysec-2026-4321-uv-s-bundled-ca-store-trusts-an-emsign-root-whose-aeefabb5)
- [uv bundled CA store trusts compromised emSign root](https://junglewise.ai/threats/uv-s-bundled-ca-store-trusts-an-emsign-root-whose-intermediate-ca-keys-38269068)
- [uv path traversal in wheel extraction on Windows](https://junglewise.ai/threats/cve-2026-104843-uv-is-a-python-package-and-project-manager-written-in-rust-from)
- [PYSEC-2026-2001 - uv allows ZIP payload obfuscation through parsing differentials](https://junglewise.ai/threats/cve-2025-54368-uv-allows-zip-payload-obfuscation-through-parsing-differentials)
