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 package | Versions | Reported by |
|---|---|---|
| symfony symfony | >= 6.3.0, < 6.4.40, >= 7.4.0, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12 | CVE List |
| symfony security-http | >= 6.3.0, < 6.4.40, >= 7.4.0, < 7.4.12, >= 8.0.0-BETA1, < 8.0.12 | CVE 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.12 | GitHub 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.12 | GitHub Advisory Database |
| sensiolabs symfony | from 6.3.0 before 6.4.40, from 7.4.0 before 7.4.12, from 8.0.0 before 8.0.12 | NVD |
All scores
| GitHub_M | 8.8high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS: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 |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45069 changed 2026-07-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-29fc-p6c4-24cg changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-45069 changed 2026-07-15 | Public domain |