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

EPSS
0.27% (19th 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-16120588
  • published22 Apr 2026
  • disclosed22 Apr 2026
  • creditApex

Introduced: 22 Apr 2026

CVE-2026-22754  (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 XML authorization rules processing when the servlet-path attribute is used. An attacker can gain unauthorized access to protected endpoints by crafting requests that bypass intended authorization checks.

CVSS Base Scores

version 4.0
version 3.1