# GHSA-225X-M3G7-H3FC: Intercept URL map auth bypass via encoded slash or blank path variable

- Database: GitHub
- Severity: CVSS 9.1 (Critical)
- Published: 2026-11-11
- Modified: 2026-11-11

## Affected versions

- io.micronaut.security:micronaut-security (Maven): from 1.1.1, fixed in 3.11.3
- io.micronaut.security:micronaut-security (Maven): from 4.0.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
An authorization bypass in micronaut-security's intercept URL map lets a client without credentials run a controller method that the map restricts to a role. The client only has to put an encoded slash (x%2Fy) or a blank value (%20, %09, %00) into a path variable. The application must protect a route with a fixed-depth pattern such as /admin/*, /users/*/roles or /*/admin/**, and a broader permissive pattern, typically a later /** → isAnonymous(), must also match. When that broader entry is isAuthenticated(), the same requests let any logged-in user past a role entry instead. Routes protected with @Secured are not affected.

## Affected and patched versions

The following ranges cover stable releases.

| Release line | Affected versions | First patched release | Fix commit |
| --- | --- | --- | --- |
| 3.11.x and earlier | `>= 1.1.1, < 3.11.3` | `3.11.3` | [25e969d058](https://github.com/micronaut-projects/micronaut-security/commit/25e969d058b9b96375e9db86655ec24482c87889) |
| 4.x | `>= 4.0.0, < 4.18.2` | `4.18.2` | [bd1dc217cf](https://github.com/micronaut-projects/micronaut-security/commit/bd1dc217cf42e122fe05de174a8225cf8bdb7c59) |
| 5.0.x–5.4.x | `>= 5.0.0, < 5.4.2` | `5.4.2` | [f98e23c78e](https://github.com/micronaut-projects/micronaut-security/commit/f98e23c78e0f4550b5e28d2940b1672315152a22) |
| 5.5.x | `>= 5.5.0, < 5.5.2` | `5.5.2` | [46284a2c8c](https://github.com/micronaut-projects/micronaut-security/commit/46284a2c8c909cfc6092ce325e843015a1dbf7cf) |

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: [1.1.1](https://github.com/micronaut-projects/micronaut-security/blob/v1.1.1/security/src/main/java/io/micronaut/security/rules/InterceptUrlMapRule.java). Pattern matching uses request.getUri().getPath, the decoded path.

Version 1.1.1 is the earliest stable source tag available in this repository. Releases before that tag have not been verified.

## Suggested severity
Suggested CVSS v3.1 vector: `CVSS:3.1/AV:N/AC:L/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-IBBPVBHW`.

## References

- https://github.com/micronaut-projects/micronaut-security/security/advisories/GHSA-225x-m3g7-h3fc

Page: https://cve.now/GHSA-225X-M3G7-H3FC

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