Description
Spring Security's InetAddressMatchers utility provides matchInternal() and matchExternal() builders for constructing an InetAddressMatcher that classifies a given IP address as belonging to an internal (private) or external (public) network.
Spring Security 7.1.0
Published: 2026-08-27
Score: 3.7 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Spring Security's InetAddressMatchers utility offers matchInternal() and matchExternal() builders that are supposed to classify addresses as belonging to internal or external networks. The vulnerability stems from a flaw that makes the classification incomplete, potentially treating an internal address as external or vice‑versa. Because many security rules depend on this classification—such as origin checks, CSRF protections, or access restrictions—an attacker could trick the application into treating a controlled internal request as an external one, allowing bypass of intended safeguards. The impact is limited to authority and availability compromises rather than direct code execution.

Affected Systems

The affected product is Spring Security, specifically version 7.1.0. No other affected versions were listed.

Risk and Exploitability

The CVSS score is 3.7, indicating low severity. EPSS data is not available, so exploitation probability cannot be quantified from public data. The vulnerability is not listed in the CISA KEV catalog, implying no known public exploits have been documented. The likely attack vector is through any input that is passed to matchInternal()/matchExternal() in an application context; however, specific conditions or prerequisites are not detailed in the description, so the exploitation complexity is assumed to be low to moderate. Once the classification is inaccurate, an attacker may leverage other application weaknesses to gain unauthorized access or cause a denial of service.

Generated by OpenCVE AI on August 28, 2026 at 06:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spring Security to the latest released version that contains the fix for the InetAddressMatchers internal network classification.
  • Audit any custom code that uses matchInternal() or matchExternal() and replace it with a validated IP classification method or implement strict subnet checks.
  • Review and adjust security controls that depend on internal/external IP checks to ensure they do not rely on the flawed matching logic.

Generated by OpenCVE AI on August 28, 2026 at 06:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Fri, 28 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-285

Fri, 28 Aug 2026 07:00:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Security
Vendors & Products Spring
Spring spring Security

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Spring Security's InetAddressMatchers utility provides matchInternal() and matchExternal() builders for constructing an InetAddressMatcher that classifies a given IP address as belonging to an internal (private) or external (public) network. Spring Security 7.1.0
Title Spring Security InetAddressMatchers Incomplete Internal Network Classification
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Spring Spring Security
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T17:57:36.006Z

Reserved: 2026-07-04T18:13:09.973Z

Link: CVE-2026-59277

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:53.987

Modified: 2026-08-27T20:17:53.987

Link: CVE-2026-59277

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T07:00:12Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-285

    Improper Authorization