Subscribe free
Morning Merge Python · Wednesday, November 25, 20264 min read

uv 0.13.10 validates uv.lock; Hex.pm's RCE post-mortem

Also: OpenAI upgrades Spark behind shadow runs, and a soapbar signature bypass

Today is about trust: what your lockfile promises, what a registry can prove, and what a signature check actually checked. Start with uv, the one you'll touch today.

The main thing

A teal articulated snake lifts one sealed crate toward its empty slot in a long warehouse rack of identical crates.

uv 0.13.10 starts checking that uv.lock agrees with itself. Astral released it on November 24, 2026. It validates that the dependency requirements in uv.lock match the locked package versions, and reports dependencies whose package entries are missing from the file.

A lockfile whose requirements say one thing while its pins say another is what a bad merge or a hand edit leaves behind. When --locked rejects a lockfile, uv now also explains why it needs updating.

The release also addresses GHSA-vjvj-3m3f-fgmm. The notes don't describe the bug or the affected versions, so we can't tell you how exposed older installs are. Not knowing is a fine reason to upgrade now rather than later.

The rest of the release:

What to do: upgrade uv in CI first and run your locked sync once. If it starts failing, the new message explains why, and the inconsistency it found was already in the lockfile you were shipping.

Worth reading

A teal articulated snake pulls a tangled chain of interlocking gears out of a torn-open parcel on a mailroom sorting table.

Hex.pm explains how a "safe" decoder ended in remote code execution. On November 23, 2026, an attacker exploited a bug in hex.pm, the Elixir and Erlang package registry, to run commands on its web servers. Hex blocked the traffic and deployed a fix within 20 minutes, and published CVE-2026-129514 on November 24.

Hex found no evidence of modified packages. Database reads aren't logged, though, so it can't rule out that email addresses, password hashes, API key hashes and 2FA secrets were read. It rotated every credential the attacker could have read except the registry signing key. Hex says new client releases with a signing system that supports key rotation are due in the coming days.

The attack chain is the part Python readers should study. hex.pm decoded unauthenticated request bodies with Plug.Crypto.non_executable_binary_to_term/2, which blocks most potentially harmful terms but let attacker-built structs through. The attacker's chosen code ran later, when Sentry and the log formatter called inspect on those structs from the stack trace.

Swap inspect for repr and the shape is familiar. A deserializer labelled safe only promises what it blocks, and the error path handles attacker data with less suspicion than the request handler does. Check what your own error reporting does with request bodies.

Try this

A teal articulated snake looks between a solid factory conveyor line and its dashed-outline ghost twin, comparing the boxes at the end of each.

OpenAI upgraded its Spark fleet with agents working behind shadow runs. At QCon San Francisco 2026, Mouli Mukherjee, Engineering Manager for Data Infrastructure at OpenAI, described moving a Spark fleet on millions of cores to a new version. Codex-driven agents did the migration, but only after the team built the guardrails.

First came a shadow-run service that reuses production inputs on a low-priority queue, a configuration override service so experiments can't change global settings, and a validation skill that compares production and shadow runs. Then agents claimed jobs, launched shadow runs, reviewed the validation reports, classified errors and moved jobs to the new Spark version.

Jobs that pass shadow validation but later fail in production can roll back to the previous Spark version on their own. For lower-risk incremental library releases, the team sometimes skips the shadow step and promotes directly, accepting a higher rollback risk.

You don't need millions of cores to copy the order of operations. If you're planning an interpreter or dependency bump across many services, build the side-by-side comparison and decide what counts as the same output before an agent opens a single pull request.

Patch check

soapbar's signature check trusted the certificate it was checking. GHSA-859w-52fx-hcm6 (CVE-2026-64855), rated high and published November 24, 2026, covers verify_envelope_bsp() in the Python package soapbar. It read the X.509 certificate from the message's own wsse:BinarySecurityToken, checked only its validity dates, then verified the signature against that same certificate.

There was no CA-chain validation, no issuer or subject allowlist and no pinning, so a passing check proved only that somebody signed the envelope. The advisory text we have doesn't list affected or patched versions. If you verify signed SOAP messages with soapbar, check the advisory page for a fixed release before trusting that function again.

Upgrade uv today, and treat any new complaint about your lockfile as a finding rather than a regression.

← All Morning Merge Python issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →