Skip to main content
Menu
Advisories

HEAD requests bypass intercept URL map rules defined for GET

GHSA-FWCG-W62G-38X8Published Updated GitHub

Description

An intercept URL map entry restricted to http-method: GET can be bypassed by sending the same request as HEAD. The server then runs the protected @Get method, or serves the protected static file, and returns its status code and response headers, though not the body. This requires a map where the GET entry is stricter than a method-less entry covering the same path. Anyone that method-less entry admits can do it: an authenticated user without the required role, or an unauthenticated client if the entry is isAnonymous().

Affected and patched versions

The following ranges cover stable releases.

Release lineAffected versionsFirst patched releaseFix commit
3.11.x and earlier>= 1.1.1, < 3.11.43.11.4423622c8dc
4.x>= 4.0.0, < 4.18.34.18.3c9dea8f4a1
5.0.x–5.4.x>= 5.0.0, < 5.4.35.4.3f40f22c60d
5.5.x>= 5.5.0, < 5.5.35.5.3052aec5f16

The fix commits are included in the corresponding release tags and absent from the preceding stable releases (3.11.3, 4.18.2, 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:L/PR:L/UI:N/S:U/C:L/I:L/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-1DDMTZGD.

Affected versions

References

GitHub · micronaut-projects/micronaut-security