Intel

AIKIDO-2026-845986

uv is vulnerable to Improper Verification of Cryptographic Signature

Improper Verification of Cryptographic Signature Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

69

Medium Risk

This Affects:

PYTHONuv
0.1.0 - 0.12.10
Fixed in 0.12.11
Are you affected? Scan for Free

TL;DR

When uv resolves a locked source distribution from uv.lock, it can read package metadata and invoke the build backend for the cached source archive before checking that archive against the hash recorded in the lockfile. A source archive that has been swapped or corrupted at its recorded location can therefore have its build backend executed before the mismatch is caught, exposing the machine running uv sync or uv lock to code from an unverified artifact. Hash verification under --verify-hashes and --require-hashes also failed to apply supplied hashes to === exact-version requirements and to requirements resolved to a local version, letting content pass the hash check for those version forms. The fix verifies locked source archives before reading metadata or building and corrects the hash-matching strategy for exact pins and local versions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

uv is vulnerable to Improper Verification of Cryptographic Signature in versions 0.1.0 - 0.12.10.

How to fix this

Upgrade the uv library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform