CVE-2026-59333

7.4High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.4CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
None
Impact
High impact on confidentiality, integrity
Weakness
—

What an attacker gets

Unauthenticated attackers can bypass IP-based access controls to gain unauthorized access to restricted endpoints. This requires the application to use IP matching and support both IPv4 and IPv6 address families.

Root cause

The IP address matcher compares leading bytes without verifying that the remote and configured addresses belong to the same address family.

Affected versions

Spring Security 7.1.x

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Fix & remediation

Upgrade to Spring Security 7.1.1 or later. If you cannot upgrade, ensure your network stack or proxy configuration prevents address family translation or dual-stack ambiguity for restricted endpoints.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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 present a remote address in an address family other than the one used in the matcher's configured address or CIDR range (for example through IPv4-mapped IPv6 addresses, a dual-stack listener, or a proxy that translates between families). An attacker connecting from an address family the application administrator did not intend to permit may be able to satisfy an IP-based access-control rule and bypass the restriction.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-59333

More fully triaged vulnerabilities you may want to check next.