Skip to main content
Menu
Advisories

Unsigned JWTs accepted after OpenID discovery fails at startup

GHSA-7XHP-HPW5-J83RPublished Updated GitHub

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 lineAffected versionsFirst patched releaseFix commit
3.11.x and earlier>= 3.9.0, < 3.11.33.11.369c95b9db2
4.x>= 4.0.0, < 4.18.24.18.237ba2990c1
5.0.x–5.4.x>= 5.0.0, < 5.4.35.4.34048bbc6fd
5.5.x>= 5.5.0, < 5.5.35.5.33ec3541342

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.

Affected versions

References

GitHub · micronaut-projects/micronaut-security