Spring Boot InetAddressFilter with a '0 bits' mask matches both IPv4 and IPv6 addresses

MEDIUM | NOVEMBER 19, 2026 | CVE-2026-59412

Description

When an InetAddressFilter is has a '0 bits' mask it matches both IPv4 and IPv6 addresses. A filter of 0.0.0.0/0 should have only matched IPv4 address, likewise a filter of ::0/0 should have only matched IPv6 address.

Affected Spring Products and Versions

Spring Boot:

  • 4.1.0 - 4.1.2

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
4.1.2.1Enterprise Support Only
4.1.3OSS

No further mitigation steps are necessary.

Credit

The issue was identified and responsibly reported by Daehyun Kang.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all