CVE-2025-54368

MEDIUM EPSS 8.0%
Published Aug 8, 202510mo ago · Modified Jun 17, 20261w ago
6.8 CVSS 4.0
Medium
Find Similar
Published Aug 8, 2025 10mo ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
6.8
Exploitability
Impact
Vector string
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
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction P
Scope X

Threat Intelligence

EPSS Exploit Probability
8.0% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 2

CWE-20 Improper Input Validation Validation
CWE-436

References 4

  • 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

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.