CVE-2025-13327 Uv: uv: specially crafted zip archives lead to arbitrary code execution due to parsing differentials

Medium 6.3 Published Updated

Attackers can execute arbitrary code by tricking users into installing specially crafted ZIP archives via the uv package installer.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-13327?

CVE-2025-13327 is a medium-severity code injection vulnerability in Red Hat AI Inference Server, published on 27 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-1286

Which versions are affected by CVE-2025-13327?

5 open source packages ship an affected version, including uv. It affects 1 product.

PackageAffectedFixed in
uv PyPIAll versions0.9.6
uv PyPIAll versions0.9.6
uv PyPIAll versions0.9.6
uv crates.ioAll versions0.9.6
uv crates.ioAll versions0.9.6
Linux distribution packages (1)
python-uv openSUSE:Leap 16.0All versions0.7.18-160000.4.1

Products include Astral Uv.

How do I fix CVE-2025-13327?

Upgrade uv to 0.9.6 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-13327 being exploited?

There is no known exploitation of CVE-2025-13327 in the wild and no public exploit code.

Sources

Also known as ECHO-20c9-9c83-3932, GHSA-pqhf-p39g-3x64, GHSA-v653-r55g-hcmg, MINI-x4c3-jv97-wx8x, PYSEC-2026-2295, openSUSE-SU-2026:20330-1.

Is CVE-2025-13327 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free