Spring Framework Algorithmic Denial of Service via SpEL Expressions
Published 9 Jun 2026 · Updated 10 Sept 2026
Is your project on an affected org.springframework:spring-expression?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=7.0.0 <7.0.8
- Fixed in
- 7.0.8
mvn versions:use-dep-version -Dincludes=org.springframework:spring-expression -DdepVersion=7.0.8 -DforceVersion=true- Affected
- >=6.2.0 <6.2.19
- Fixed in
- 6.2.19
mvn versions:use-dep-version -Dincludes=org.springframework:spring-expression -DdepVersion=6.2.19 -DforceVersion=true- Affected
- >=6.1.0 <=6.1.21
- Fixed in
- No fix released
- Affected
- <=5.3.39
- Fixed in
- No fix released
Details
Applications that evaluate user-supplied Spring Expression Language (SpEL) expressions are vulnerable to an Algorithmic Denial of Service (DoS). By providing a specially crafted expression, an attacker can trigger excessive resource consumption during evaluation, leading to application degradation or unavailability.
Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
Is GHSA-r5w3-xv2f-j59q in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-expression, and gives you the command that fixes it.
More advisories for org.springframework:spring-expression
- HighCVE-2026-41849Spring Framework Denial of Service via Integer Overflow in SpEL Expressions · 9 Jun 2026
- MediumCVE-2026-41851Spring Framework Denial of Service via Unbounded Cache in SpEL · 9 Jun 2026
- LowCVE-2026-41852Spring Framework Arbitrary Method Invocation in SpEL Expressions · 9 Jun 2026
- MediumCVE-2024-38808Spring Framework vulnerable to Denial of Service · 20 Aug 2024
- HighCVE-2023-20863Spring Framework vulnerable to denial of service · 13 Apr 2023
- MediumCVE-2023-20861Spring Framework vulnerable to denial of service via specially crafted SpEL expression · 23 Mar 2023
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.