CVE-2024-22257 in Pivotal Software 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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Pivotal Software | Spring Security | ≥ 5.7.0, ≤ 5.7.11 ≥ 5.8.0, ≤ 5.8.10 ≥ 6.0.0, ≤ 6.0.9 ≥ 6.1.0, ≤ 6.1.7 ≥ 6.2.0, ≤ 6.2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-22257 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-188351-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| Published | 2024-03-18 |
| Last modified | 2026-06-30 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Spring Security versions prior to 5.7.12, 5.8.11, 6.0.9, 6.1.8, and 6.2.3 are vulnerable to broken access control due to improper handling of a null Authentication parameter in AuthenticatedVoter#vote.
An attacker could exploit this vulnerability to bypass intended access controls, potentially gaining unauthorized access to resources that should be protected.
Questions
What is CVE-2024-22257?
Spring Security versions prior to 5.7.12, 5.8.11, 6.0.9, 6.1.8, and 6.2.3 are vulnerable to broken access control due to improper handling of a null Authentication parameter in AuthenticatedVoter#vote.
What is the CVSS score for CVE-2024-22257?
CVE-2024-22257 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N. EPSS: 1.0%.
Is CVE-2024-22257 actively exploited?
No confirmed active exploitation of CVE-2024-22257 as of 2026-07-01.
How do I remediate CVE-2024-22257?
Priority: HIGH.
What systems are affected by CVE-2024-22257?
CVE-2024-22257 affects Pivotal Software Spring Security.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Pivotal Software","product":"Spring Security","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-30.