CVE-2025-13327 Uv: uv: specially crafted zip archives lead to arbitrary code execution due to parsing differentials
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.
| Package | Affected | Fixed in |
|---|---|---|
uv PyPI | All versions | 0.9.6 |
uv PyPI | All versions | 0.9.6 |
uv PyPI | All versions | 0.9.6 |
uv crates.io | All versions | 0.9.6 |
uv crates.io | All versions | 0.9.6 |
Linux distribution packages (1)
python-uv openSUSE:Leap 16.0 | All versions | 0.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.