Skip to main content
Menu
Advisories

SignedRefreshTokenGenerator logs introspected access tokens at WARN

GHSA-HJ4F-F856-X9P6Published Updated GitHub

Description

Whoever can read a Micronaut application's log (log aggregation, support staff, backups) can obtain other users' live access tokens and replay them as bearer tokens until they expire, one hour by default. The token is written at WARN by SignedRefreshTokenGenerator.validate() during ordinary POST /token_info introspection traffic, with no attacker request involved. This requires three things: refresh tokens are enabled, the introspection endpoint is used, and access tokens are encrypted (JWE), RS/ES/PS-signed, or HS384/HS512-signed with a refresh-token secret shorter than that algorithm needs. Default HS256-signed access tokens are not logged.

Affected and patched versions

The following ranges cover stable releases.

Release lineAffected versionsFirst patched releaseFix commit
3.11.x and earlier>= 2.0.0, < 3.11.33.11.3edab4d0f75
4.x>= 4.0.0, < 4.18.24.18.23a8765243f
5.0.x–5.4.x>= 5.0.0, < 5.4.25.4.20cbffb1ecf
5.5.x>= 5.5.0, < 5.5.25.5.28bb7348f56

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.1, 5.5.1).

Earliest verified affected stable source: 2.0.0. The original generator logs the supplied refresh token in WARN parse/JOSE exception messages; the class is absent in v1.4.0.

Suggested severity

Suggested CVSS v3.1 vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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-F7LT93SK.

Affected versions

References

GitHub · micronaut-projects/micronaut-security