CVE-2026-59333
Received Received - Intake

IPv4/IPv6 Address Family Bypass in Spring Security

Vulnerability report for CVE-2026-59333, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
spring_project spring_security 7.1
spring security From 7.1.0 (inc) to 7.1.2 (inc)
spring security 7.1.3
spring security 7.1.2.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Spring Security's IP address matching tools (IpAddressMatcher, IpAddressServerWebExchangeMatcher, InetAddressMatchers). It incorrectly matches IPv4 and IPv6 addresses by comparing only leading bytes without checking if they belong to the same address family. This can allow attackers to bypass IP-based access controls if their address's leading bytes coincidentally match a configured range.

Detection Guidance

Check if your application uses Spring Security's IP address matching features like IpAddressMatcher or InetAddressMatchers. Review network logs for access attempts from unexpected IP address families that bypassed restrictions.

Impact Analysis

An attacker could exploit this to bypass IP-based access restrictions intended for one address family (e.g., IPv6) by connecting from another family (e.g., IPv4) if their leading bytes match the configured range. This could grant unauthorized access to protected resources.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data by bypassing IP-based access controls. For GDPR, this may result in improper data access controls, violating Article 32 on security of processing. For HIPAA, it could allow unauthorized access to protected health information, violating the Security Rule's access control requirements.

Mitigation Strategies

Upgrade to Spring Security 7.1.3 (OSS) or 7.1.2.1 (Enterprise) immediately to patch the vulnerability. Review and update IP-based access control rules to ensure proper address family validation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59333. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...