Red Hat Quay CVE-2026-123710: how one missing check gives away every private image
Red Hat Quay CVE-2026-123710 (CVSS 9.8) lets an attacker plant a signing key and read or overwrite every private image; CVE-2026-110697 (9.9) leaks robot tokens. How both work, what to do today, and the design rules that keep this class of bug out of Gardience.
Find and fix CVEs across the fleetSelf-hosted, offline, or hosted
On November 11, Red Hat disclosed two critical flaws in Quay, its private container registry. The first, CVE-2026-123710, scores 9.8. With it, anyone who can reach a Quay server can plant their own signing key, then mint tokens that read and overwrite every private image in the registry. The second, CVE-2026-110697, scores 9.9 and lets a signed-in user read other teams' robot account tokens. Both were found by Dave O'Connor at Red Hat, and Red Hat lists Quay 3 and Quay 5 as affected, including the Quay Operator on OpenShift and the mirror registry for OpenShift.
The write-ups now walk through exactly how the first one works, which is why it is worth an hour today. Here is what happens, what to do, and the design rules we build Gardience on so that this kind of mistake cannot hand anyone the keys.
How CVE-2026-123710 works
#Quay signs the short-lived tokens that let Docker and Podman pull and push. Its own components prove who they are with service keys, and a service rotates its key by calling the key server's /keys endpoint with a token signed by a key Quay already trusts.
The check on that call was too narrow. Per Red Hat's advisory, rotation confirmed that the token was signed by an approved key and had the right audience and issuer. It did not confirm that the token was a rotation credential at all. And an unauthenticated client can ask Quay's /v2/auth endpoint for an anonymous registry token whose audience it chooses. That token is signed by an approved key, so it passes.
The result:
- The attacker's key is installed as an approved signing key, with no expiry. It survives restarts.
- Rotation deletes the real instance key as a side effect, so normal pulls and pushes can start failing.
- Tokens signed with the planted key are accepted for every repository: read any private image (and any secret baked into one), overwrite images, and move tags. Every system that later pulls by tag gets the attacker's image.
- Turning off anonymous access does not help: any valid account can do the same. Changing passwords or robot tokens does not remove the planted key.
How CVE-2026-110697 works
#Quay lists a namespace's robot accounts with a SQL LIKE pattern built from the namespace name, without escaping the wildcards. In LIKE, an underscore matches any single character. A user who can create a namespace names it so its underscores line up with a victim's namespace, then lists the victim's robot accounts, with their tokens.
What to do today
#From Red Hat's guidance:
- Block
/keysat your proxy or load balancer so only Quay's own internal components can reach it. - Search the audit log for
service_key_rotateandservice_key_deleteevents, especially keys with no expiration date. Remove any approved service key you do not recognize. - Install the fixed build. For CVE-2026-110697, Red Hat lists 3.9.28, 3.10.28, 3.12.24, 3.14.10, 3.15.9, 3.16.7, 3.17.7, and 3.18.3. For CVE-2026-123710, check Red Hat's CVE page: as of November 12 its status was still being updated. Until you run a fixed build, deleting a planted key is not enough, because it can be planted again.
- Check your images. Compare tags and digests for important repositories with what you built, and review tag history and pulls of private repositories for anything you did not do.
- Rotate robot tokens for any namespace whose name could collide through an underscore, and limit who can create namespaces until you are patched.
Why this class of bug does not fit Gardience's design
#We build Gardience, a self-hosted console that patches and hardens Windows and Linux servers. It holds the keys to a whole fleet, so we design it so that one missed check cannot hand them over. These are the rules that matter here:
- A credential works for one thing only. Every secret in Gardience's vault is sealed with AES-256-GCM bound to a label naming exactly what it is for: one field of one credential, one uploaded file, one support bundle. A value sealed for one purpose fails to open as another. The Quay flaw was the opposite: a token made to pull images was accepted as a key-rotation credential.
- No request adds a trusted signing key. The private keys that sign Gardience releases and licenses never touch a customer's server. The server holds only the public halves, delivered inside the signed release. There is no endpoint, signed in or not, that adds a key Gardience trusts.
- Machines join only when a person says so. A new agent waits until an admin accepts it, or presents an enrollment token an admin created for a set time; rotating an agent's key is an admin action, recorded in the audit log.
- Our images never come from a registry tag. Each Gardience image is a file checked against a SHA-256 listed in the release, which is signed twice (Ed25519, and ECDSA P-384 for FIPS installs). Air-gapped installs refuse to pull anything at all. A poisoned tag in any registry cannot reach a Gardience server.
- Names are checked, not pattern-matched. Machine, group, and account names must match strict patterns before Gardience uses them, and every database query binds values instead of building search patterns from what someone typed.
None of that replaces patching. It means a single missing check is a bug to fix, not a way in.
Keeping track of the next one
#Quay runs in a container, but most of what we patch every month does not: the OS packages, kernels, and Windows updates under everything else. Gardience checks every Windows and Linux machine once a day against each vendor's own security data, lists actively exploited CVEs first, and fixes them in one approved run, with the evidence kept. The free license covers 10 machines with no end date.
Find every exposed machine in your first hour
The free license covers 10 Windows and Linux machines with no end date: CVE matching with CISA KEV and EPSS, and a one-click fix for only the exposed machines, with approval.
Free 10-machine licenseFree 90-day trial (25 machines)How CVE matching works