# CVE-2024-22257: Erroneous authentication pass in Spring Security

- Severity: High 8.2 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2024-03-18T14:18:52.986Z
- Modified: 2026-09-10T03:50:10.594Z
- Also known as: GHSA-f3jh-qvm4-mg39
- Weaknesses: CWE-287, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Security: 6.2.0 to 6.2.2, 6.1.0 to 6.1.7, 6.0.0 to 6.0.9, 5.8.0 to 5.8.10, 5.7.0 to 5.7.11
- pivotal_software spring_security: from 5.7.0 up to 5.7.11; from 5.8.0 up to 5.8.10; from 6.0.0 up to 6.0.9; from 6.1.0 up to 6.1.7; from 6.2.0 up to 6.2.2
- org.springframework.security:spring-security-core (Maven): before 5.7.12; from 5.8.0 before 5.8.11; from 6.0.0 before 6.1.8; from 6.2.0 before 6.2.3

## Every score

- vmware: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://spring.io/security/cve-2024-22257> (web)
- <https://security.netapp.com/advisory/ntap-20240419-0005/>
- <https://github.com/dependency-check/DependencyCheck/issues/8642>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22257> (advisory)
- <https://github.com/spring-projects/spring-security/commit/5a7f12f1a9fdb4edaab6f61495f1d781a7273b61> (web)
- <https://github.com/spring-projects/spring-security> (package)
- <https://security.netapp.com/advisory/ntap-20240419-0005> (web)

## Sources

- CVE List: [CVE-2024-22257](https://www.cve.org/CVERecord?id=CVE-2024-22257), CVE Terms of Use, modified 2026-06-30
- GitHub Advisory Database: [GHSA-f3jh-qvm4-mg39](https://github.com/advisories/GHSA-f3jh-qvm4-mg39), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-22257](https://nvd.nist.gov/vuln/detail/CVE-2024-22257), Public domain, modified 2026-06-30

---

Page: https://cve.day/CVE-2024-22257 · Whole record: https://cve.day/CVE-2024-22257.json · Rebuilt by cve.day 2026-11-25T22:58:37.659Z
