CVE-2026-41852: Spring Framework Arbitrary Method Invocation in SpEL Expressions
A vulnerability in Spring Expression Language (SpEL) evaluation logic allows for arbitrary zero-argument method invocation, even within restricted or read-only contexts, which may allow an attacker to invoke unintended application logic. 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).
A vulnerability in Spring Expression Language (SpEL) evaluation logic allows for arbitrary zero-argument method invocation, even within restricted or read-only contexts, which may allow an attacker to invoke unintended application logic.
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
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-41851
Spring Framework Denial of Service via Unbounded Cache in SpEL
medium5.3No fixJun 9, 2026CVE-2024-38808
Spring Framework vulnerable to Denial of Service
medium4.3Aug 20, 2024
