Dev.to Security 🔐 Cybersecurity 👁 2 📖 3 min read

uv 0.13.10 to 0.13.12: a ZIP fix, lockfile checks and what to verify

Originally published on The Weekly Signal. The uv project published three releases between November 24 and December 1, 2026: 0.13.10, 0.13.11 and 0.13.12. The first one fixes a security advisory about ZIP files that p

uv 0.13.10 to 0.13.12: a ZIP fix, lockfile checks and what to verify

Originally published on The Weekly Signal.

uv 0.13.10 to 0.13.12 header

The uv project published three releases between November 24 and December 1, 2026: 0.13.10, 0.13.11 and 0.13.12. The first one fixes a security advisory about ZIP files that pip and uv can read differently. The other two are smaller. This post goes through what the release notes and the advisory say, and what is worth checking in a project that uses uv.

uv releases at a glance

The advisory fixed in 0.13.10

The 0.13.10 release notes state that the release addresses GHSA-vjvj-3m3f-fgmm. The advisory is titled "ZIP payload obfuscation through conflicting compressed sizes" and carries a severity of low.

  • Affected versions. The advisory lists uv from 0.1.29 up to and including 0.13.9.
  • What happens. A ZIP member can record its compressed size in two places. The advisory says uv reads to the end of the compressed data, while Python's zipfile module reads only the size declared in the central directory. An attacker can craft an archive where the two tools extract different file contents, even though both see the same SHA-256 digest.
  • The fix. uv now rejects wheels whose ZIP data descriptor and central directory disagree on the compressed size.
  • Why it is rated low. The advisory says a user has to install or build an attacker-controlled package, and that for wheels the hidden code still needs a separate import to run. It also says PyPI now provides ecosystem-wide mitigations for malformed ZIPs.

Other changes in 0.13.10

Beyond the fix, the notes list three enhancements around uv.lock: validating that dependency requirements match the locked package versions, explaining why the lockfile needs an update when --locked rejects it, and reporting dependencies whose package entries are missing. The managed Python builds were refreshed (CPython 3.11.18, 3.12.16, 3.13.18, 3.14.10, 3.15.2 and 3.16.0a2, plus a GraalPy update). The notes also list fixes for refreshing cached interpreter information and for uv sync --no-install-package.

0.13.11 and 0.13.12

Both were released on December 1. The 0.13.11 notes include:

  • Preview features recorded in uv.lock must now be enabled before uv uses that resolution, including with --frozen.
  • uv check can select ty 1.x by default when no version is locked or requested.
  • Credentials are selected from the most specific matching URL path prefix.
  • Files extracted from tar archives use the owner execute bit to decide whether they are executable.
  • A hardened Python 3.15-based Docker image is published as python3.15-dhi.

The 0.13.12 notes are short: managed CPython 3.11 through 3.16 builds now include OpenSSL 3.5.10, one preview-feature warning for version-scoped overrides on dynamic local packages, and a documentation fix about quoting version specifiers in shell commands.

uv release note entries by section

The chart counts bullet points per section in each release's notes. It is a hand tally of the published notes, not a measure of code changed.

What to check in your own projects

  1. Version. Run uv --version on laptops, CI images and containers. The advisory says 0.13.10 or newer is the fixed line.
  2. Locked installs in CI. If you run uv sync --locked or --frozen, run it once on a branch with the new version. The lockfile validation and the preview-feature rule in 0.13.11 could change what a stale lockfile does.
  3. Private indexes. If you use credentials for more than one URL on the same host, test that the most specific matching path prefix now picks the credential you expect.
  4. Pinned Python builds. If you rely on a specific managed CPython patch version, check which build you now get.
  5. Docker images. If you use the uv images, look at the new python3.15-dhi tag in the notes before changing a base image.

What we did not verify

  • We did not install or run any of these versions, and we did not reproduce the ZIP behavior described in the advisory.
  • We did not test the lockfile, credential or tar changes. They are described as the release notes word them.
  • The chart is our own tally of release note bullets and may differ from a count made another way.
  • We did not check how the advisory has been handled by other tools, or whether other installers are affected.

Sources

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.