netty/netty · Security
Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking
- GHSA ID
- GHSA-3qp7-7mw8-wx86
- CVE ID
- CVE-2026-44249
- Severity
- high
- Published
- Updated
- CVSS
- 8.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
Summary
An attacker can bypass IPv6 subnet rules due to an incorrect masking operation in IpSubnetFilterRule.compareTo(). Valid public IP addresses can bypass the restrictions.
Details
io.netty.handler.ipfilter.IpSubnetFilterRule#compareTo(java.net.InetSocketAddress) method performs a bitwise AND between the incoming IP address and the configured networkAddress, instead of the subnetMask.
Impact
Access Control Bypass. Attacker can bypass IpSubnetFilter IPv6 access controls.
CWEs
- CWE-284 · Improper Access Control
- CWE-697 · Incorrect Comparison
References
- https://github.com/netty/netty/security/advisories/GHSA-3qp7-7mw8-wx86 ↗
- https://github.com/netty/netty/releases/tag/netty-4.1.135.Final ↗
- https://github.com/netty/netty/releases/tag/netty-4.2.15.Final ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-44249 ↗
- https://github.com/advisories/GHSA-3qp7-7mw8-wx86 ↗