Loading advisory.
Loading advisory.
Privilege escalation in spring security
Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in).
Published 2021-02-23 18:48 UTC · Modified 2024-08-03 18:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.springframework.security:spring-security-bom | Maven | >= 5.4.0, < 5.4.4 >= 5.3.0, < 5.3.8 < 5.2.9 versions 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.3.0.RELEASE, 5.3.1.RELEASE, 5.3.2.RELEASE, 5.3.3.RELEASE, 5.3.4.RELEASE, 5.3.5.RELEASE, 5.3.6.RELEASE, 5.3.7.RELEASE, 3.2.0.RELEASE, 3.2.1.RELEASE, 3.2.10.RELEASE, 3.2.2.RELEASE, 3.2.3.RELEASE, 3.2.4.RELEASE, 3.2.5.RELEASE, 3.2.6.RELEASE and 78 more | 5.4.4, 5.3.8, 5.2.9 | No single command for Maven. Update to 5.4.4, 5.3.8, 5.2.9 in your build file. |
| org.springframework.security:spring-security-web | Maven | >= 5.4.0, < 5.4.4 >= 5.3.0, < 5.3.8 < 5.2.9 versions 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.3.0.RELEASE, 5.3.1.RELEASE, 5.3.2.RELEASE, 5.3.3.RELEASE, 5.3.4.RELEASE, 5.3.5.RELEASE, 5.3.6.RELEASE, 5.3.7.RELEASE, 3.0.0.RELEASE, 3.0.1.RELEASE, 3.0.2.RELEASE, 3.0.3.RELEASE, 3.0.4.RELEASE, 3.0.5.RELEASE, 3.0.6.RELEASE, 3.0.7.RELEASE and 95 more | 5.4.4, 5.3.8, 5.2.9 | No single command for Maven. Update to 5.4.4, 5.3.8, 5.2.9 in your build file. |
Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application's intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.033 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.033 | first score | v2026.06.15 |