PT-2026-165413
CVE-2026-59333
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
7.4
HighMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Spring Security versions prior to 7.1.2.1
Spring Security versions prior to 7.1.3
Description
IP address matching support in Spring Security fails to verify that a remote address and a configured IP address or CIDR range belong to the same address family before comparing their leading bytes. Due to the differing byte lengths of IPv4 and IPv6 addresses, a remote address from one family may be incorrectly matched against a CIDR range of another family if their leading bytes coincide. This occurs when the application uses
IpAddressMatcher, IpAddressServerWebExchangeMatcher, or the InetAddressMatchers factory to restrict access, and the network stack provides addresses in different families, such as through IPv4-mapped IPv6 addresses or dual-stack listeners. An attacker may exploit this to bypass IP-based access-control rules.Recommendations
Update to version 7.1.2.1.
Update to version 7.1.3.
Found an issue in the description? Have something to add? Feel free to write us 👾