Missing Authentication for Critical Function Affecting org.springframework.security:spring-security-core package, versions [6.4.0,6.4.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about Missing Authentication for Critical Function vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-10185684
  • published20 May 2025
  • disclosed19 May 2025
  • creditVitalii

Introduced: 19 May 2025

NewCVE-2025-41232  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-core to version 6.4.6 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 Missing Authentication for Critical Function due to improperly locating method security annotations on private methods. An attacker could invoke the target method without proper authorization by exploiting this vulnerability.

Note:

This is only exploitable if your application is using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects and there are Spring Security method annotations on a private method.

CVSS Base Scores

version 4.0
version 3.1