---
id: "CVE-2026-114110"
kind: "vulnerability"
aliases: ["CVE-2026-114110", "GHSA-pjjw-68hj-v9mw"]
title: "uv vulnerable to arbitrary file deletion through RECORD entries"
severity: "high"
cvss: 8.7
epss: 0.00271
exploited: false
status: "open"
category: "package"
products: [{"name": "uv", "fixed": ["0.11.6"], "affected": "<= 0.11.5", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["ci", "cwe-22", "developer-workstations", "package", "python", "uv"]
not_affected_if: ["trusted-packages-only", "uv-0.11.6-or-newer"]
published_at: "2026-04-10T19:39:15+00:00"
first_seen_at: "2026-10-23T20:59:05+00:00"
updated_at: "2026-10-25T05:29:35+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-pjjw-68hj-v9mw", "first_seen_at": "2026-10-23T20:59:05+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114110", "first_seen_at": "2026-10-23T21:57:28+00:00"}]
---

# uv vulnerable to arbitrary file deletion through RECORD entries

uv 0.11.5 and earlier trusts relative paths in a wheel's RECORD file when uninstalling, so a crafted wheel can make uv delete arbitrary files outside its installation prefix. Only files can be removed, and the attacker must guess the path depth to hit system files.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:uv affected <= 0.11.5 fixed 0.11.6

## How to check

- Run `uv --version` and see whether it reports `0.11.5` or older.
- Check whether the team installs untrusted or third-party wheels with uv.

## Fix

- Upgrade uv to `0.11.6` or newer.
- Avoid installing and then uninstalling wheels from untrusted sources until upgraded.

## Timeline

- 2026-10-23T20:59:05+00:00 ghsa https://github.com/advisories/GHSA-pjjw-68hj-v9mw
- 2026-10-23T21:57:28+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-114110

## From the sources

## Impact

Wheel RECORD entries can contain relative paths that traverse outside of the wheel’s installation prefix. In versions 0.11.5 and earlier of uv, these wheels were not rejected on installation and the RECORD was respected without validation on uninstall.

uv uses the RECORD to determine files to remove on uninstall. Consequently, a malicious or malformed wheel could induce deletion of arbitrary files outside of the wheel’s installation prefix on uninstall.

uv does not use the RECORD file to determine wheel file paths. Invalid RECORD entries cannot be used to create or modify files in arbitrary locations.

Standards-compliant Python packaging tooling does not produce RECORD files that exhibit this behavior; an attacker must manually manipulate the RECORD. A user must install *and* uninstall the malformed wheel to be affected. An attack must guess the depth of the installation prefix path in order to target system files.

Absolute paths in RECORD files are not allowed by the specification and, when present, uv always treats them as rooted in the wheel’s installation prefix. Absolute paths cannot be used to delete arbitrary files.

Only files can be deleted, attempts to delete a directory via an invalid RECORD entry will fail.

## Patches

Versions [0.11.6](https://github.com/astral-sh/uv/releases/tag/0.11.6) and newer of uv address the validation gap above, by [removing invalid entries from RECORD files on wheel installation](https://github.com/astral-sh/uv/pull/18943) and [ignoring RECORD paths that would escape the installation prefix on uninstall](https://github.com/astral-sh/uv/pull/18942).

## Workarounds

Users are advised to upgrade to 0.11.6 or newer to address this advisory.

Users should experience no breaking changes as a result of the patch above.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
