Skip to main content
← All vulnerabilities
CVE-2025-54368PYSEC-2026-2001GHSA-8QF3-X8V5-2PJ8

uv is vulnerable to ZIP payload obfuscation through parsing differentials

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • astral-sh uv

    fixed in 0.8.6

  • uvPyPI

    fixed in 0.8.6

References 4

GitHub · astral-sh/uv

astral.sh

blog.pypi.org