Access Control Bypass Affecting org.springframework.security:spring-security-config package, versions [7.0.0-M1,7.0.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.25% (16th percentile)

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-16121326
  • published22 Apr 2026
  • disclosed22 Apr 2026
  • creditApex

Introduced: 22 Apr 2026

CVE-2026-22753  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-config to version 7.0.5 or higher.

Overview

org.springframework.security:spring-security-config is a security configuration package for Spring Framework.

Affected versions of this package are vulnerable to Access Control Bypass in the securityMatchers component when a PathPatternRequestMatcher.Builder bean is used to prepend a servlet path. An attacker can bypass authentication, authorization, and other security controls by crafting requests that are not properly matched to the intended filter chain.

CVSS Base Scores

version 4.0
version 3.1