uv is vulnerable to ZIP payload obfuscation through parsing differentials
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| astral-sh | uv | before 0.8.6 | 0.8.6 | Patch available | CNA |
| — | uv (PyPI) | before 0.8.6 | 0.8.6 | Patch available | GHSA-8qf3-x8v5-2pj8 |
- uv Vendorastral-sh Affected before 0.8.6 Fixed in 0.8.6 Patch available CNA
- uv (PyPI) Vendor— Affected before 0.8.6 Fixed in 0.8.6 Patch available GHSA-8qf3-x8v5-2pj8
Remediation
- Fix · CNA uv (astral-sh) Fixed in 0.8.6
- Fix · GHSA-8qf3-x8v5-2pj8 uv (PyPI) Fixed in 0.8.6 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54368
- 2026-10-03 Alias added: GHSA-8qf3-x8v5-2pj8
References
Other 5
- https://github.com/astral-sh/uv/security/advisories/GHSA-8qf3-x8v5-2pj8
- https://github.com/astral-sh/uv/commit/7f1eaf48c193e045ca2c62c4581048765c55505f
- https://astral.sh/blog/uv-security-advisory-cve-2025-54368
- https://blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks
- https://github.com/astral-sh/uv
More astral-sh vulnerabilities
- TI-2025-38758 astral-tokio-tar Vulnerable to PAX Header Desynchronization CVSS 3.1HIGH 8.1
- TI-2026-78723 Path traversal in Astral uv lets attackers delete arbitrary files CVSS 4.0HIGH 8.7
- TI-2025-43946 Path traversal in Astral uv sdist extraction allows file writes CVSS 4.0HIGH 8.7
- TI-2026-78722 Path traversal in uv lets malicious wheels write files CVSS 4.0HIGH 8.7
- TI-2026-66129 uv: Path traversal on Windows through wheel extraction CVSS 4.0MEDIUM 5.9
- TI-2025-37264 astral-tokio-tar has a path traversal in tar extraction CVSS 4.0MEDIUM 6.1
Sources
- CVE-2025-54368 · CVE Program
- CVE-2025-54368 · NVD
- FIRST EPSS
- GHSA-8qf3-x8v5-2pj8 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-54368 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences