Home / Blog / Red Hat Quay Vulnerability: Two Critical Flaws, One Poisoned Registry

Red Hat Quay Vulnerability: Two Critical Flaws, One Poisoned Registry

Every rack has one box nobody audits: the container registry. It stores the images your clusters pull, the credentials baked into them, and the signing keys that decide which of those images is real. This week Red Hat disclosed two critical flaws in Quay — CVE-2026-123710 at 9.8 and CVE-2026-110697 at 9.9 — that together let an attacker read every private image, overwrite any of them, and borrow other tenants' robot tokens to do it. Quay ships with anonymous access enabled by default, so in the worst configuration the attacker needs no account at all. This Red Hat Quay vulnerability is not a permissions bug; it is a supply-chain takeover with a patch window measured in quarters.

Red Hat Quay container registry vault opened by a forged trusted signing key, exposing private images
One trusted key is all it takes to open every repository.

A trusted key, no expiry, and a token you sign yourself

Quay's key server accepts a key-replacement request only when it carries a token signed by a key Quay already trusts, with the expected audience and issuer. The check stops there. It never verifies that the token was issued for key rotation, and the caller chooses the audience. An anonymous token from the /v2/auth endpoint passes every condition: Quay signs it, and the attacker fills in the rest. The result is a new trusted signing key with no expiry date, one that survives restarts and keeps minting valid tokens for any repository in the registry.

From there it is a straight line: pull private images and the secrets inside them, push replacements over the originals, or delete the keys the running instances depend on so ordinary pushes and pulls start failing with authentication errors. Password resets and robot token rotation do not evict the planted key. That is a persistence primitive, and it is precisely what turns a registry into command-and-control infrastructure — authenticated, egress-allowed, and almost never inspected.

The underscore that opens someone else's namespace

The second flaw is smaller in concept and just as lethal. Quay builds an SQL LIKE pattern from a namespace name without escaping wildcard characters, and in LIKE an underscore matches any single character. Create a namespace with an underscore in the right position and the robot-account listing returns another tenant's robot accounts, decrypted tokens included. No elevated privileges, no action required from the victim. Those tokens read, push, and overwrite images in the victim's repositories, and where Quay is the integrated registry for OpenShift they lead straight into CI/CD pipelines. Deleting the attacker's namespace also deletes the matched robot accounts, quietly cutting off whatever depended on them.

SQL LIKE wildcard underscore matching robot account tokens across Quay namespaces
One underscore, many tenants: the LIKE pattern that leaks robot tokens.

Why a registry bug outranks a hundred edge bugs

We spend our days on the other end of the stack — SYN floods, UDP amplification, HTTP/2 Rapid Reset, layer 7 HTTP flood campaigns tuned until a target folds — and we will still argue that image poisoning is the more elegant attack. Edge DDoS protection is a solved, if expensive, problem: scrubbing, anycast, and a cloudflare bypass that works today and dies next month. A poisoned base image needs none of that. It arrives through the front door, signed by a key the registry trusts, pulled by a pipeline that has never once questioned its source. Every deployment that pulls it executes attacker code with the build agent's credentials and network position. If you want a botnet that survives a rebuild, or an ip stresser panel living inside your victim's own automation, this is the way in.

Most registries have image immutability disabled because teams retag latest constantly, and most scanners trust the registry they read from. Overwrite a base image and the vulnerability report stays green while the payload ships.

Poisoned base image spreading from a container registry through a CI/CD pipeline into production
Poison the base image once; every pull after that does the work.

Eight fixed branches and a very long upgrade queue

Red Hat shipped fixed builds across eight Quay 3 branches and says Quay.io is already patched. The upstream change adds the missing rotation check, forces keys added through the key server to carry an expiry date, stops callers from choosing a token's audience, and fixes the robot account search in the same pass. The logic behind this Red Hat Quay vulnerability has been present since Quay's first public commit, which means every deployment built from that history carries it. Meanwhile the CVE record still listed every Quay package as affected, and none of the eight advisories named CVE-2026-110697 — a documentation gap that slows down exactly the operators who need to move fastest.

Until you upgrade: restrict who can create organizations and namespaces containing an underscore, rotate robot tokens for any namespace that matches one, inventory trusted signing keys and remove anything without an expiry, and alert on pulls and pushes that do not match normal robot behaviour. Then enable image immutability and pin by digest, so a rewrite becomes a loud event instead of a silent one. None of it removes the flaw; it only buys time.

Registries upgrade slowly, and an attacker only needs one pull — which is why this Red Hat Quay vulnerability will keep paying out long after the advisories scroll off the front page. If you want to know how your own edge behaves under load while you are busy patching the inside, our free stress test is still free — point it at your infrastructure from /contact. Method notes and past campaigns live in the blog.