# GHSA-53FG-FCG3-RHPG: TokenAuthenticationFetcher leaks accepted JWTs to every UserInfo endpoint

- Database: GitHub
- Severity: CVSS 5.8 (Medium)
- Published: 2026-11-11
- Modified: 2026-11-11

## Affected versions

- io.micronaut.security:micronaut-security (Maven): from 4.15.0, fixed in 4.18.2
- io.micronaut.security:micronaut-security (Maven): from 5.0.0, fixed in 5.4.2
- io.micronaut.security:micronaut-security (Maven): from 5.5.0, fixed in 5.5.2

## Description

## Summary
When an application trusts more than one token issuer, TokenAuthenticationFetcher sends still-valid JWTs that it has already accepted to the UserInfo endpoint of every configured OpenID provider. Those providers then hold live tokens belonging to users that are not theirs. To benefit, a configured provider (or anything observing its UserInfo endpoint) must be malicious or compromised, and it cannot choose or trigger whose token it receives. The clearest case is an application with one OpenID client next to a separate micronaut.security.token.jwt.signatures.jwks.* entry. There, the OpenID provider receives access tokens issued by an unrelated authorization server, usable until exp...

## Affected and patched versions

The following ranges cover stable releases.

| Release line | Affected versions | First patched release | Fix commit |
| --- | --- | --- | --- |
| 4.x | `>= 4.15.0, < 4.18.2` | `4.18.2` | [60def573ec](https://github.com/micronaut-projects/micronaut-security/commit/60def573eca0f62c864d415e492148e624e5f6a8) |
| 5.0.x–5.4.x | `>= 5.0.0, < 5.4.2` | `5.4.2` | [a88021cef0](https://github.com/micronaut-projects/micronaut-security/commit/a88021cef0c4e76ee1dcbfb18bd6ad84213dc366) |
| 5.5.x | `>= 5.5.0, < 5.5.2` | `5.5.2` | [0cbaab2fe0](https://github.com/micronaut-projects/micronaut-security/commit/0cbaab2fe022cb821dd0b7822b7d6365f31985b2) |

The fix commits are included in the corresponding release tags and absent from the preceding stable releases (4.18.1, 5.4.1, 5.5.1).

Earliest verified affected stable source: [4.15.0](https://github.com/micronaut-projects/micronaut-security/blob/v4.15.0/security-oauth2/src/main/java/io/micronaut/security/oauth2/endpoint/userinfo/UserInfoClientTokenValidator.java). The built-in remote UserInfo validator appears in v4.15.0 and is absent in v4.14.0; TokenAuthenticationFetcher invokes validators with flatMap.

The 3.11.3 release also contains sequential-validator hardening. The built-in UserInfo disclosure described in this advisory starts at 4.15.0, so 3.x is not listed as affected by that scenario.

## Suggested severity
Suggested CVSS v3.1 vector: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/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-W3I6Z6PC`.

## References

- https://github.com/micronaut-projects/micronaut-security/security/advisories/GHSA-53fg-fcg3-rhpg

Page: https://cve.now/GHSA-53FG-FCG3-RHPG

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
