CVE-2026-123710: Quay: red hat quay: unauthenticated registry signing-key takeover via service key rotation

Published Nov 6, 2026
·
Updated

A flaw was found in Red Hat Quay. An unauthenticated client can obtain an anonymous registry token with an audience it controls, present that token to the service key rotation endpoint, and install its own approved signing key with no expiry. Registry tokens signed with that key are accepted for any repository, allowing read and write access to private images and replacement of repository tags.

Other sources

An unauthenticated client can install an attacker-controlled, never-expiring service signing key in Red Hat Quay and then forge registry tokens that grant read and write access to every repository.

The service key server authorises key rotation by checking only that the supplied bearer JWT is RS256-signed by an already-approved key for that service and carries the expected audience and issuer. It does not check what the token was issued for. /v2/auth mints exactly such a token for anonymous callers when FEATUREANONYMOUSACCESS is enabled, and the audience is taken from the client-supplied service parameter with no pinning. The key server ignores the token's grants.

The attacker PUTs their own JWK to /keys/services/quay/keys/<kid>. replaceservicekey copies the signer's approval onto the new key and stores it with no expiration when the expiration parameter is omitted. The new key is trusted immediately, and registry JWTs signed with it are honoured on /v2 for any repository, including push and overwrite. Rotation also deletes the legitimate instance key as a side effect, and the attacker key can delete replacement instance keys.

Root cause references: - endpoints/v2/v2auth.py: audienceparam = request.args.get("service") - util/security/registryjwt.py: tokens include access and context claims - endpoints/keyserver/init.py: validatejwt checks signature, aud and iss only, then discards the payload - data/model/servicekeys.py: replaceservicekey copies approval, accepts a null expiration, and deletes the signer - auth/registryjwtauth.py: access claims map directly to pull, push and grants

Confirmed against master 9226d3a5 and the 3.19-unstable image. The logic is present from the first public commit.

— Red Hat

Affected Software

9 affected components
Red Hat Quay
redhat Quay>=3.9.0<3.9.28
redhat Quay>=3.10.0<3.10.28
redhat Quay>=3.12.0<3.12.24
redhat Quay>=3.14.0<3.14.10
redhat Quay>=3.15.0<3.15.9
redhat Quay>=3.16.0<3.16.7
redhat Quay>=3.17.0<3.17.7
redhat Quay>=3.18.0<3.18.3

Event History

Nov 6, 2026
Data Sourced
via Red Hat·10:22 AM
DescriptionSeverityAffected Software
Nov 11, 2026
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Nov 12, 2026
News Published
via The Hacker News·04:27 PM
Nov 13, 2026
Data Sourced
via NVD·02:59 PM
Affected Software
Nov 16, 2026
News Published
via The Hacker News·01:27 PM

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated remote client can exploit it. The attacker only needs to obtain an anonymous registry token with an audience they control and submit it to the service key rotation endpoint.

2

What access can an attacker gain after successful exploitation?

The attacker can install an approved signing key with no expiry, then use tokens signed by that key against any repository. This permits reading and writing private images and replacing repository tags.

3

Are private repositories affected?

Yes. Tokens signed with the attacker-installed key are accepted for any repository, including private repositories.

4

What condition enables the takeover?

The service key rotation endpoint accepts an anonymous registry token whose audience is controlled by the client, allowing installation of an attacker-controlled approved signing key without an expiry.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203