{"id":"CVE-2026-114110","kind":"vulnerability","aliases":["CVE-2026-114110","GHSA-pjjw-68hj-v9mw"],"related":[],"title":"uv vulnerable to arbitrary file deletion through RECORD entries","description":"## Impact\n\nWheel 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.\n\nuv 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.\n\nuv 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.\n\nStandards-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.\n\nAbsolute 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.\n\nOnly files can be deleted, attempts to delete a directory via an invalid RECORD entry will fail.\n\n## Patches\n\nVersions [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).\n\n## Workarounds\n\nUsers are advised to upgrade to 0.11.6 or newer to address this advisory.\n\nUsers should experience no breaking changes as a result of the patch above.","summary":"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.","severity":"high","cvss":8.7,"epss":0.00271,"exploited":false,"exploited_at":null,"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"],"how_to_check":"- Run `uv --version` and see whether it reports `0.11.5` or older.\n- Check whether the team installs untrusted or third-party wheels with uv.","fix":"- Upgrade uv to `0.11.6` or newer.\n- Avoid installing and then uninstalling wheels from untrusted sources until upgraded.","status":"open","published_at":"2026-04-10T19:39:15+00:00","first_seen_at":"2026-10-23T20:59:05+00:00","triaged_at":"2026-10-25T05:29:35+00:00","updated_at":"2026-10-25T05:29:35+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T05:29:35Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade uv to `0.11.6` or newer.\n- Avoid installing and then uninstalling wheels from untrusted sources until upgraded.","reach":"local","title":"uv: malicious wheel RECORD entries can delete files outside install directory","impact":"high","summary":"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.","category":"package","nicknames":[],"who_cares":["python","uv","ci","developer-workstations"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker deletes arbitrary files on the machine running uv uninstall","analyst_note":"","how_to_check":"- Run `uv --version` and see whether it reports `0.11.5` or older.\n- Check whether the team installs untrusted or third-party wheels with uv.","needs_analyst":false,"not_affected_if":["uv-0.11.6-or-newer","trusted-packages-only"],"who_is_affected":"Teams running uv `0.11.5` or earlier that install a wheel from an untrusted or malicious source and later uninstall it. Standard packaging tools do not produce these RECORD entries, so routine installs from PyPI are unlikely to be the vector. Teams that only use current uv or only install trusted packages can skip it.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000663,"input_tokens":3916,"output_tokens":542,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-114110':12A,20A '-2026':11A,19A '-22':24B '/astral-sh/uv/pull/18942).':320C '/astral-sh/uv/pull/18943)':305C '/astral-sh/uv/releases/tag/0.11.6)':283C '0.11.5':32B,96C '0.11.6':280C,328C '68hj':16A 'absolut':226C,252C 'address':288C,332C 'advis':324C 'advisori':334C 'affect':208C 'allow':233C 'alway':241C 'arbitrari':4A,54B,138C,173C,259C 'attack':67B,191C,210C 'attempt':266C 'behavior':189C 'break':339C 'cannot':164C,254C 'chang':340C 'ci':22B 'compliant':177C 'consequ':128C 'contain':82C 'could':134C 'craft':48B 'creat':168C 'cve':10A,18A 'cwe':23B 'delet':6A,53B,136C,258C,265C,268C 'depth':72B,214C 'determin':122C,157C 'develop':26B 'developer-workst':25B 'directori':270C 'earlier':34B,98C 'entri':9A,80C,163C,275C,296C 'escap':312C 'exhibit':187C 'experi':337C 'fail':277C 'file':5A,43B,55B,61B,76B,123C,139C,155C,159C,171C,185C,225C,230C,260C,262C,299C 'gap':291C 'ghsa':14A 'ghsa-pjjw-68hj-v9mw':13A 'github.com':282C,304C,319C 'github.com/astral-sh/uv/pull/18942).':318C 'github.com/astral-sh/uv/pull/18943)':303C 'github.com/astral-sh/uv/releases/tag/0.11.6)':281C 'guess':69B,212C 'hit':74B 'ignor':307C 'impact':77C 'induc':135C 'instal':58B,92C,107C,145C,200C,217C,250C,302C,314C 'invalid':161C,273C,295C 'locat':174C 'make':51B 'malform':132C,204C 'malici':130C 'manipul':194C 'manual':193C 'modifi':170C 'must':68B,192C,199C,211C 'newer':285C,330C 'order':221C 'outsid':56B,87C,140C 'packag':28B,179C 'patch':278C,346C 'path':37B,71B,84C,160C,219C,227C,253C,309C 'pjjw':15A 'prefix':59B,93C,146C,218C,251C,315C 'present':239C 'produc':183C 'python':29B,178C 'record':8A,42B,79C,110C,120C,154C,162C,184C,196C,229C,274C,298C,308C 'reject':105C 'relat':36B,83C 'remov':64B,125C,294C 'respect':112C 'result':343C 'root':245C 'specif':236C 'standard':176C 'standards-compli':175C 'system':75B,224C 'target':223C 'tool':180C 'travers':86C 'treat':242C 'trust':35B 'uninstal':45B,116C,127C,148C,202C,317C 'upgrad':326C 'use':118C,152C,166C,256C 'user':198C,322C,335C 'uv':1A,21A,30B,31B,52B,100C,117C,149C,240C,287C 'v9mw':17A 'valid':114C,290C 'version':95C,279C 'via':271C 'vulner':2A 'wheel':40B,49B,78C,90C,102C,133C,143C,158C,205C,248C,301C 'without':113C 'workaround':321C 'workstat':27B 'would':311C","nicknames":[],"mitigations":[],"who_affected":"Teams running uv `0.11.5` or earlier that install a wheel from an untrusted or malicious source and later uninstall it. Standard packaging tools do not produce these RECORD entries, so routine installs from PyPI are unlikely to be the vector. Teams that only use current uv or only install trusted packages can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-04-10T19:39:15+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-pjjw-68hj-v9mw","url":"https://github.com/advisories/GHSA-pjjw-68hj-v9mw","severity":"low","published_at":"2026-04-10T19:39:15+00:00","modified_at":"2026-10-23T20:58:15+00:00","first_seen_at":"2026-10-23T20:59:05+00:00","fetched_at":"2026-10-23T20:59:05+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-114110","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114110","severity":null,"published_at":"2026-10-21T01:17:37+00:00","modified_at":"2026-10-22T17:39:56+00:00","first_seen_at":"2026-10-23T21:57:28+00:00","fetched_at":"2026-10-23T22:29:01+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}