CVE-2025-54368: astral-sh uv · Interpretation Conflict
Affects astral-sh uvSource CVE Database V5
Not known to be exploited · CVSS 6.8 Medium : upgrade to 0.8.6 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.6
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade astral-sh uv to 0.8.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| astral-sh uv | Affected
| Fixed in
|
AI-suggested
European organizations should prioritize upgrading the 'uv' package to version 0.8.6 or later to fully remediate this vulnerability. Until upgrades are deployed, avoid setting UV_INSECURE_NO_ZIP_VALIDATION=1 as it disables important ZIP validation checks and may increase risk. Organizations should audit their software supply chains to identify any use of 'uv' versions prior to 0.8.6, including in CI/CD pipelines and developer environments. Implement strict controls on ZIP archive sources, including verifying signatures and hashes before installation. Employ runtime monitoring to detect anomalous file extraction behaviors or unexpected changes in package contents. Educate developers and users about the risk of interacting with untrusted ZIP archives, especially those received via email or external sources. Finally, consider isolating build and deployment environments to limit the impact of potential exploitation.
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.
References
- github.com/astral-sh/uv/security/advisories/GHSA-8qf3-x8v5-2pj8 (opens in a new tab)
- github.com/astral-sh/uv/commit/7f1eaf48c193e045ca2c62c4581048765c55505f (opens in a new tab)
- astral.sh/blog/uv-security-advisory-cve-2025-54368 (opens in a new tab)
- blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks (opens in a new tab)