Spring Framework Arbitrary Method Invocation in SpEL Expressions
Spring Framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-expression Maven |
|
|
Spring Framework
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-expression Maven |
|
|
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.
From the CVE record · vmware
Spring Expression Language (SpEL) evaluation can permit arbitrary zero-argument method calls in restricted or read-only contexts, potentially triggering unintended application logic. An attacker would need to influence an expression evaluated in such a context; the input does not specify network access, authentication requirements, or user interaction.
Teams running Spring Framework 7.0.0–7.0.7, 6.2.0–6.2.18, 6.1.0–6.1.27, or 5.3.0–5.3.48 should check their exposure; the package ranges supplied for the older branches differ from those in the description.