MODERATE

CVE-2026-59431

Spring Framework Denial of Service via SpEL Collection Selection

Description

Applications which accept user-supplied Spring Expression Language (SpEL) expressions may be vulnerable to a Denial of Service (DoS) attack.

Specifically, an application is vulnerable when the following condition is met:

The application accepts and evaluates untrusted or user-controlled SpEL expressions.

When this condition is met, an attacker can supply an expression that uses the collection selection operator to perform significantly more work than permitted by the maximum operations limit introduced for CVE-2026-41850, which can lead to excessive CPU consumption.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-expression
<= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11
7.0.11

Blast radius

1affected artifacts
414affected versions
103,974dependent artifacts (est.)
4,346,219dependent versions

86% of the dependent artifacts (90,215) still pull an affected version in their latest release.

DepthDependent versions
Direct
137,561
2 hops
619,953
3 hops
1,747,214
4 hops
1,190,468
5 hops
460,501
6 hops
190,522

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.