CVE-2025-54368
MEDIUM 6.8CVSS 4.0uv allows ZIP payload obfuscation through parsing differentials
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.
- Published
- 8 Aug 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-436
- Also known as
- GHSA-8qf3-x8v5-2pj8PYSEC-2026-2001
- Sources
- NVDJSONOSV GHSA-8qf3-x8v5-2pj8JSONOSV PYSEC-2026-2001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | uv | < 0.8.6 | 0.8.6 |
References
- https://astral.sh/blog/uv-security-advisory-cve-2025-54368 · WEB
- https://blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks · WEB
- https://github.com/astral-sh/uv/commit/7f1eaf48c193e045ca2c62c4581048765c55505f · WEB, FIX
- https://github.com/astral-sh/uv/security/advisories/GHSA-8qf3-x8v5-2pj8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54368 · ADVISORY
- https://github.com/astral-sh/uv · PACKAGE
- https://pypi.org/project/uv · PACKAGE
- https://github.com/advisories/GHSA-8qf3-x8v5-2pj8 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 8 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Aug 2025)