Medium severity · published Aug 8, 2025
CVE-2025-54368
uv is vulnerable to ZIP payload obfuscation through parsing differentials
6.8
CVSS
0.2%
EPSS
No
On KEV
Description
uv is a Python package and project manager written in Rust. In versions 0.8.5 and earlier, remote ZIP archives were handled in a streamwise fashion, and file entries were not reconciled against the archive's central directory. An attacker could contrive a ZIP archive that would extract with legitimate contents on some package installers, and malicious contents on others due to multiple local file entries. An attacker could also contrive a "stacked" ZIP input with multiple internal ZIPs, which would be handled differently by different package installers. The attacker could choose which installer to target in both scenarios. This issue is fixed in version 0.8.6. To work around this issue, users may choose to set UV_INSECURE_NO_ZIP_VALIDATION=1 to revert to the previous behavior.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 11% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
UV
uv · astral-sh
< 0.8.6 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-54368
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-54368
astral.sh
https://astral.sh/blog/uv-security-advisory-cve-2025-54368
blog.pypi.org
https://blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks
github.com
https://github.com/astral-sh/uv/commit/7f1eaf48c193e045ca2c62c4581048765c55505f
github.com
https://github.com/astral-sh/uv/security/advisories/GHSA-8qf3-x8v5-2pj8
More from uv
8.8
CVE-2026-114109
uv before 0.11.15 Arbitrary File Write via Entry Point Names
6.5
CVE-2025-71437
Astral uv through 0.8.21 Path Traversal via Symlinks in Sdist Tar Extraction
6.3
CVE-2025-13327
Uv: uv: specially crafted zip archives lead to arbitrary code execution due to parsing differentials
5.9
CVE-2026-104843
uv: Path traversal on Windows through wheel extraction
5.3
CVE-2026-114110
Astral uv before 0.11.6 Arbitrary File Deletion via Wheel RECORD Entries
