CVE-2026-59333

CVE-2026-59333CVE-2026-59333

Description

Spring Security's IP address matching support, including IpAddressMatcher , IpAddressServerWebExchangeMatcher , and the InetAddressMatchers factory introduced in 7.1, matches a remote address against a configured IP address or CIDR range. When comparing addresses, the matcher compared only the leading bytes of the remote and configured addresses without first confirming that the two addresses belong to the same address family. Because IPv4 and IPv6 addresses have different byte lengths, a remote address in one family whose leading bytes happened to coincide with a configured CIDR range in the other family could be reported as a match even though the families differ. Preconditions : The application uses IpAddressMatcher , IpAddressServerWebExchangeMatcher , or InetAddressMatchers (for example via hasIpAddress() , an internal/external network check, or an include/exclude address list) to restrict access based on the remote IP address, and the application's network stack can pre

Scoring

CVSS 7.4 ()
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Last modified2026-12-02
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.