Vulnerabilities in pkg:pypi/uv

PACKAGE
Advisory Summary

GHSA-hq85-5cpj-mr62 is a CRITICAL uv's bundled ca store trusts vulnerability (CWE-295: Improper Certificate Validation) affecting Uv libraries in the PyPI ecosystem. The issue involves uv's bundled ca store trusts an emsign root whose intermediate ca keys are compromised. Remediation is available by upgrading affected packages to version 0.13.4.

7 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/uv

7 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/uv. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-hq85-5cpj-mr62 - CRITICAL uv's bundled CA store trusts an emSign root whose intermediate CA keys are compromised
GHSA-2cv4-cqwr-gwf7 CVE-2026-104843 MODERATE uv: Path traversal on Windows through wheel extraction
GHSA-4gg8-gxpx-9rph - MODERATE uv is vulnerable to arbitrary file write through entry point names
GHSA-pjjw-68hj-v9mw - LOW uv vulnerable to arbitrary file deletion through RECORD entries
GHSA-pqhf-p39g-3x64 - MODERATE uv allows ZIP payload obfuscation through parsing differentials
GHSA-w476-p2h3-79g9 - LOW uv has differential in tar extraction with PAX headers
GHSA-8qf3-x8v5-2pj8 CVE-2025-54368 MODERATE uv allows ZIP payload obfuscation through parsing differentials

GHSA-hq85-5cpj-mr62 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hq85-5cpj-mr62
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Uv
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-hq85-5cpj-mr62

To remediate this vulnerability, upgrade all affected Uv dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

uv fixed: 0.13.4
pip install uv>=0.13.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show uv

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-hq85-5cpj-mr62, inspect your installed packages using pip:

pip show uv

Analyze the terminal output to locate any version of Uv in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.4), your application is affected.

Note: The pip show uv command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Uv, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

By default, uv verifies TLS connections against a vendored copy of the `webpki-root-certs` bundle. Versions before 0.13.4 include the `emSign ECC Root CA - G3` root. Eight eMudhra intermediate CA certificates that chain to that root have compromised private keys, and the CA has revoked them. An attacker with one of the compromised keys can issue certificates that uv accepts for any hostname, and can be used to issue certificates to enable MITM attacks. uv 0.13.4 removes the root from its vendored bundle, following `webpki-root-certs` 1.0.10. Upgrade to 0.13.4 or later.

GHSA-hq85-5cpj-mr62 Affected Uv Versions

1 component(s)
Fixed Versions:
0.13.4
Product / Package Ecosystem Affected Versions Fixed Version
uv
PyPI
< 0.13.4
0.13.4

References

Frequently Asked Questions

What is GHSA-hq85-5cpj-mr62?
GHSA-hq85-5cpj-mr62 is a security vulnerability in Uv involving uv's bundled CA store trusts an emSign root whose intermediate CA keys are compromised under CWE-295: Improper Certificate Validation.
Which Uv versions are affected?
Affected versions include releases prior to 0.13.4 across affected packages: uv.
What version fixes GHSA-hq85-5cpj-mr62?
Upgrading to 0.13.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is uv affected?
Yes, uv is affected in releases prior to 0.13.4. Upgrade your dependency to 0.13.4 or later.
What CWE is associated with GHSA-hq85-5cpj-mr62?
GHSA-hq85-5cpj-mr62 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check PyPI dependencies for GHSA-hq85-5cpj-mr62?
Run the dependency tree command: 'pip show uv'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hq85-5cpj-mr62",
  "modified" : "2026-10-20T19:37:53Z",
  "published" : "2026-10-20T19:37:52Z",
  "aliases" : [ ],
  "summary" : "uv's bundled CA store trusts an emSign root whose intermediate CA keys are compromised",
  "details" : "By default, uv verifies TLS connections against a vendored copy of the `webpki-root-certs` bundle. Versions before 0.13.4 include the `emSign ECC Root CA - G3` root. Eight eMudhra intermediate CA certificates that chain to that root have compromised private keys, and the CA has revoked them.\n\nAn attacker with one of the compromised keys can issue certificates that uv accepts for any hostname, and can be used to issue certificates to enable MITM attacks.\n\nuv 0.13.4 removes the root from its vendored bundle, following `webpki-root-certs` 1.0.10. Upgrade to 0.13.4 or later.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "uv"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/astral-sh/uv/security/advisories/GHSA-hq85-5cpj-mr62"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/certifi/python-certifi/security/advisories/GHSA-6q48-6c7w-9gw2"
  }, {
    "type" : "WEB",
    "url" : "https://emudhra.we-have-a-problem.com"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/astral-sh/uv"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/0R3XLJL6FuE/m/0XofdebrAAAJ"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-20T19:37:52Z",
    "nvd_published_at" : null
  }
}