CVE-2024-22257: Possible Broken Access Control in Spring Security With Direct Use of AuthenticatedVoter in Spring Security
In Spring Security, versions 5.7.x prior to 5.7.12, 5.8.x prior to 5.8.11, versions 6.0.x prior to 6.0.9, versions 6.1.x prior to 6.1.8, versions 6.2.x prior to 6.2.3, an application is possible vulnerable to broken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.
AI Analysis
Technical Summary
Spring Security versions before 5.7.12, 5.8.11, 6.0.9, 6.1.8, and 6.2.3 are vulnerable to broken access control if an application directly invokes the AuthenticatedVoter#vote method passing a null Authentication parameter. This improper use can bypass intended access control restrictions, potentially allowing unauthorized users to gain access to protected resources. The vulnerability is tracked as CWE-862 (Missing Authorization).
Potential Impact
Successful exploitation can result in unauthorized access to protected resources, compromising confidentiality (high impact on confidentiality), with limited impact on integrity and no impact on availability. The CVSS v3.1 score is 8.2, indicating a high severity vulnerability exploitable remotely without privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid directly using AuthenticatedVoter#vote with a null Authentication parameter in application code to prevent broken access control.
CVE-2024-22257: Possible Broken Access Control in Spring Security With Direct Use of AuthenticatedVoter in Spring Security
Description
In Spring Security, versions 5.7.x prior to 5.7.12, 5.8.x prior to 5.8.11, versions 6.0.x prior to 6.0.9, versions 6.1.x prior to 6.1.8, versions 6.2.x prior to 6.2.3, an application is possible vulnerable to broken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.
CVSS v3.1
Score 8.2high
Affected software
pkg:maven/org.springframework.security/spring-security-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Spring Security versions before 5.7.12, 5.8.11, 6.0.9, 6.1.8, and 6.2.3 are vulnerable to broken access control if an application directly invokes the AuthenticatedVoter#vote method passing a null Authentication parameter. This improper use can bypass intended access control restrictions, potentially allowing unauthorized users to gain access to protected resources. The vulnerability is tracked as CWE-862 (Missing Authorization).
Potential Impact
Successful exploitation can result in unauthorized access to protected resources, compromising confidentiality (high impact on confidentiality), with limited impact on integrity and no impact on availability. The CVSS v3.1 score is 8.2, indicating a high severity vulnerability exploitable remotely without privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid directly using AuthenticatedVoter#vote with a null Authentication parameter in application code to prevent broken access control.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2024-01-08T18:43:15.942Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a43c34a27e9c79719d5be2f
Added to database: 06/30/2026, 13:23:22 UTC
Last enriched: 06/30/2026, 13:36:16 UTC
Last updated: 09/10/2026, 19:36:47 UTC
Views: 100
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.