CVE-2026-45069
JSON

8.8high

Symfony: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims

Severity
8.8high CVSS:4.0 by GitHub_M
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-29fc-p6c4-24cg

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 6.4.40, 7.4.12, and 8.0.12, OidcTokenHandler::verifyClaims() registered audience (aud), issuer (iss), and expiry (exp) checkers but did not pass the mandatory claims list to ClaimCheckerManager::check(), so a validly signed JWT that omitted those claims could pass verification. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.

Affected

Product or packageVersionsReported by
symfony symfony>= 6.3.0, < 6.4.40, >= 7.4.0, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12CVE List
symfony security-http>= 6.3.0, < 6.4.40, >= 7.4.0, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12CVE List
symfony/security-http (Packagist)from 6.3.0 before 6.4.40, from 7.4.0 before 7.4.12, from 8.0.0 before 8.0.12GitHub Advisory Database
symfony/symfony (Packagist)from 6.3.0 before 6.4.40, from 7.4.0 before 7.4.12, from 8.0.0 before 8.0.12GitHub Advisory Database
sensiolabs symfonyfrom 6.3.0 before 6.4.40, from 7.4.0 before 7.4.12, from 8.0.0 before 8.0.12NVD

All scores

GitHub_M8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-345CWE-1287

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 6.4.40, 7.4.12, and 8.0.12, OidcTokenHandler::verifyClaims() registered audience (aud), issuer (iss), and expiry (exp) checkers but did not pass the mandatory claims list to ClaimCheckerManager::check(), so a validly signed JWT that omitted those claims could pass verification. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.

GitHub Advisory Database
Description

OidcTokenHandler is Symfony's built-in access-token handler for OpenID Connect: it validates a bearer JWT and returns the authenticated user identity. It delegates claim validation to the web-token/jwt-checker library's ClaimCheckerManager.

OidcTokenHandler::verifyClaims() registers audience (aud), issuer (iss), and expiry (exp) checkers, but never passes the $mandatoryClaims argument to ClaimCheckerManager::check(). That method only validates claims that are present in the token: a checker for an absent claim is silently skipped. A validly-signed JWT that simply omits aud, iss, and exp therefore passes verification.

Resolution

The OidcTokenHandler now calls the ClaimCheckerManager with the list of mandatory claims so that tokens missing aud, iss, or exp are rejected.

The patch for this issue is available here for branch 6.4.

Credits

Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45069 changed 2026-07-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-29fc-p6c4-24cg changed 2026-09-10CC-BY-4.0
NVDCVE-2026-45069 changed 2026-07-15Public domain