Bug 2516139 (CVE-2026-74240) - CVE-2026-74240 quay: JWT claim validation bypasses in Quay federated robot and SSO authentication
Summary: CVE-2026-74240 quay: JWT claim validation bypasses in Quay federated robot an...
Keywords:
Status: NEW
Alias: CVE-2026-74240
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-14 19:50 UTC by OSIDB Bzimport
Modified: 2026-08-14 20:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-14 19:50:18 UTC
A flaw was found in Red Hat Quay's JWT token validation for federated robot accounts and SSO authentication. Three related issues were identified: (1) When no audiences are configured for federated robot authentication (the default), verify_aud is set to False, accepting any validly-signed token from the same IdP regardless of intended audience. (2) The OIDC_ALLOWED_CLIENTS / azp enforcement check in auth/oauth.py short-circuits when the azp claim is absent from the token (None), allowing tokens without an azp claim to bypass client restrictions. (3) Pre-existing federation configurations created before API validation enforcement (or written directly to the database) without a subject field allow tokens without a sub claim to match. These issues could allow an attacker with a validly-signed token from the same identity provider to bypass configured audience, subject, or authorized-client restrictions.


Note You need to log in before you can comment on or make changes to this bug.