CVE-2025-54368
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.8
- CVSS vector
- 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
- EPSS probability
- 0.20%
- CWE
- CWE-436, CWE-20
- Published
- 2025-08-08
- Last modified
- 2026-03-12
Affected products
- astral-sh uv
Weakness type
Related vulnerabilities
- CVE-2026-87627 — Interpretation conflict in Safebrowsing in Google Chrome on on Mac prior to 153.0.8010.36 allowed a...
- CVE-2026-82537 — Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch
- CVE-2026-81378 — Visual Studio Code Security Feature Bypass Vulnerability
- CVE-2026-85184 — @fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
- CVE-2026-84394 — fast-uri vulnerable to host confusion via an unclosed bracket in the URI authority
- CVE-2026-63435 — Mail: Email address spoofing via malformed RFC 2047 encoded-words
- CVE-2026-75931 — fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
- CVE-2026-57580 — authentik: Account Takeover via SAML NameID Comment Truncation