# GHSA-CJFM-J2VW-R8G8: IpPatternsRule: documented 192.168.1. range also admits 192.168.10.x

- Database: GitHub
- Severity: CVSS 5.3 (Medium)
- 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
The IP allowlist in micronaut-security admits clients outside the range the manual says it allows. With the manual's own example, micronaut.security.ip-patterns: [127.0.0.1, 192.168.1.*], requests from 192.168.10.x–192.168.19.x and 192.168.100.x–192.168.199.x pass IpPatternsRule exactly as if they came from 192.168.1.0/24. The attached reproducer runs that configuration against an anonymous route. It shows 192.168.10.5 and 192.168.100.5 receiving 200 and the page, while the control address 192.168.2.5 gets 401.

## 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` | [a65fffe409](https://github.com/micronaut-projects/micronaut-security/commit/a65fffe4099f9cfa3cb773ea5847d3e1414b4bbf) |
| 4.x | `>= 4.0.0, < 4.18.2` | `4.18.2` | [9a6d793779](https://github.com/micronaut-projects/micronaut-security/commit/9a6d793779e777fd40cfc1cbdb77c8bf4ec47e9c) |
| 5.0.x–5.4.x | `>= 5.0.0, < 5.4.2` | `5.4.2` | [e9617d032d](https://github.com/micronaut-projects/micronaut-security/commit/e9617d032d017be459083319196f68e1288ddc0a) |
| 5.5.x | `>= 5.5.0, < 5.5.2` | `5.5.2` | [7c8b8397c2](https://github.com/micronaut-projects/micronaut-security/commit/7c8b8397c2152c2eb5f9cf69082562bced28da46) |

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/IpPatternsRule.java). Configured IP patterns are compiled directly as regular expressions without escaping dots.

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:L/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-8KKW5J62`.

## References

- https://github.com/micronaut-projects/micronaut-security/security/advisories/GHSA-cjfm-j2vw-r8g8

Page: https://cve.now/GHSA-CJFM-J2VW-R8G8

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