Skip to main content
VulnerabilityPublished Updated

CVE-2025-13327: astral-sh uv · Improper Validation of Syntactic Correctness of Input

Affects astral-sh uvSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 0.9.6 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.3
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.9.6
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 29 Oct 2026.

What to do

Upgrade astral-sh uv to 0.9.6.

Affected software

ProductAffectedFixed in
astral-shuvAffected
  • <0.9.6
Fixed in
  • 0.9.6
GitHubastral-sh/uvpkg:github/astral-sh/uvOther threatsAffected
  • =0
Fixed in–
GitHubuvpkg:github/uvOther threatsAffected
  • <0.9.6
Fixed in
  • 0.9.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Restrict package installation privileges to the minimum necessary, avoiding running package managers with elevated or root privileges unless absolutely required.
  2. Implement strict validation and verification of package sources, using cryptographic signatures and trusted repositories only.
  3. Employ sandboxing or containerization for package installation processes to limit the scope of potential code execution.
  4. Monitor package installation logs and system behavior for anomalies indicative of exploitation attempts.
  5. Educate users and administrators about the risks of installing untrusted packages and the importance of verifying package authenticity.
  6. Follow updates from the astral-sh project and apply patches promptly once available.
  7. Consider using alternative package management tools or versions if feasible until the vulnerability is resolved.
  8. Integrate static and dynamic analysis tools in CI/CD pipelines to detect suspicious package contents before deployment.

Description

A flaw was found in uv. This vulnerability allows an attacker to execute malicious code during package resolution or installation via specially crafted ZIP (Zipped Information Package) archives that exploit parsing differentials, requiring user interaction to install an attacker-controlled package.

References

Community reviews

Loading reviews…