Spring Security IP address matching ignores address family
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Spring Security from 7.1.0 before 7.1.2.1 and from 7.1.0 before 7.1.3 compares remote IP addresses without first checking that both belong to the same address family. A remote address in one family whose leading bytes match a configured range in the other family can be reported as a match. An unauthenticated remote attacker connecting from an address family the administrator did not intend to permit may bypass IP-based access rules when the application uses IpAddressMatcher, IpAddressServerWebExchangeMatcher, or InetAddressMatchers.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Spring Security to version 7.1.2.1 or 7.1.3, which are the fixed versions listed for this product.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring Security (Spring) Fixed in 7.1.2.1, 7.1.3
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59333
- 2026-12-02 Alias added: GHSA-rg48-939r-r59w
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59333 · CVE Program
- CVE-2026-59333 · NVD
- GHSA-rg48-939r-r59w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences