User Impersonation Affecting org.springframework.security:spring-security-core package, versions [7.1.0-M3,7.1.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-22729233
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditwinfriedgerlach

Introduced: 19 Nov 2026

NewCVE-2026-59333  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-core to version 7.1.3 or higher.

Overview

org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to User Impersonation in the IpInetAddressMatcher class, whose matches method compares the masked leading bytes of the remote and configured addresses without first checking they belong to the same address family. An attacker can satisfy an IP-based access rule from outside the intended range when the remote address is presented in a different family than the configured CIDR, for example an IPv4-mapped IPv6 address matching an IPv6 range, because a 4-byte and a 16-byte address are compared by prefix. This applies to applications using IpAddressMatcher, IpAddressServerWebExchangeMatcher, or InetAddressMatchers for IP access control where the network stack can present a remote address in a different family than the configured range.

CVSS Base Scores

version 4.0
version 3.1