CVE-2026-41851: Spring Framework Denial of Service via Unbounded Cache in SpEL
Applications which accept user-supplied Spring Expression Language (SpEL) expressions may be vulnerable to a Denial of Service (DoS) attack if the evaluation of a SpEL expression triggers unbounded cache growth. 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.
Published Jun 9, 2026 · Updated Jul 30, 2026
Affected packages
org.springframework:spring-expression
- Ecosystem
- Maven
- Affected
- >= 7.0.0, <= 7.0.7
- Fixed in
- 7.0.8
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-expression
org.springframework:spring-expression
- Ecosystem
- Maven
- Affected
- >= 6.2.0, <= 6.2.18
- Fixed in
- 6.2.19
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-expression
org.springframework:spring-expression
- Ecosystem
- Maven
- Affected
- >= 6.1.0, <= 6.1.21
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-expression
org.springframework:spring-expression
- Ecosystem
- Maven
- Affected
- <= 5.3.39
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-expression
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Applications which accept user-supplied Spring Expression Language (SpEL) expressions may be vulnerable to a Denial of Service (DoS) attack if the evaluation of a SpEL expression triggers unbounded cache growth.
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41851
- https://spring.io/security/cve-2026-41851
- https://github.com/spring-projects/spring-framework/commit/2c18c33ce0f89bf718c184190cfb7ed49b4276fb
- https://github.com/spring-projects/spring-framework/commit/76a36dfd707cddbe7118a81c2e055b36501d2cff
- https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19
- https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8
- https://github.com/advisories/GHSA-wxpp-56q6-5pcg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-41849
Spring Framework Denial of Service via Integer Overflow in SpEL Expressions
high7.5No fixJun 9, 2026CVE-2026-41850
Spring Framework Algorithmic Denial of Service via SpEL Expressions
high7.5No fixJun 9, 2026CVE-2026-41852
Spring Framework Arbitrary Method Invocation in SpEL Expressions
low3.7No fixJun 9, 2026CVE-2024-38808
Spring Framework vulnerable to Denial of Service
medium4.3Aug 20, 2024
