Unsigned JWTs accepted after OpenID discovery fails at startup
Description
An application that uses an OpenID client as its only source of JWT verification keys, and that starts while its provider's discovery request fails, accepts unsigned alg=none tokens until it is restarted. In that state an unauthenticated remote client can log in as any subject with any roles by sending a hand-written token. The attacker cannot cause the startup failure through this bug. It happens on its own through provider maintenance, a DNS or egress problem, or the application starting before the identity service, and the configuration involved is the ordinary documented OpenID setup with no local signature.
Affected and patched versions
The following ranges cover stable releases.
| Release line | Affected versions | First patched release | Fix commit |
|---|---|---|---|
| 3.11.x and earlier | >= 3.9.0, < 3.11.3 | 3.11.3 | 69c95b9db2 |
| 4.x | >= 4.0.0, < 4.18.2 | 4.18.2 | 37ba2990c1 |
| 5.0.x–5.4.x | >= 5.0.0, < 5.4.3 | 5.4.3 | 4048bbc6fd |
| 5.5.x | >= 5.5.0, < 5.5.3 | 5.5.3 | 3ec3541342 |
The fix commits are included in the corresponding release tags and absent from the preceding stable releases (3.11.2, 4.18.1, 5.4.2, 5.5.2).
The lower bound is the earliest stable release the finding traces the behavior to.
Suggested severity
Suggested CVSS v3.1 vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. This is an initial estimate based on the finding report and should be reviewed against the final impact and deployment prerequisites.
Source finding: ANT-2026-HBW2MCM8.