CVE-2025-54368astral-sh uv
Medium 6.8
Follow: this CVE · astral-sh · astral-sh uv We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 4.0
- 6.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 8, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for uv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | uv |
< 0.8.6 |
0.8.6 |
pip install "uv>=0.8.6" |
| PyPI | uv |
< 0.8.6 |
0.8.6 |
pip install "uv>=0.8.6" |
Per OSV / GitHub Advisories (GHSA-8qf3-x8v5-2pj8, PYSEC-2026-2001). Check the version in your lockfile before upgrading.
Affected products
- astral-sh · uv
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.