Improper Protection of Alternate Path Affecting org.springframework:spring-expression package, versions [,7.0.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-22727178
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditWangYuhui

Introduced: 19 Nov 2026

NewCVE-2026-59430  (opens in a new tab)
CWE-424  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-expression to version 7.0.11 or higher.

Overview

Affected versions of this package are vulnerable to Improper Protection of Alternate Path in the SimpleEvaluationContext class, which backs its default type conversion with the reflective converters of DefaultConversionService. An attacker can invoke constructors and methods that the context is meant to forbid by supplying an expression that triggers an implicit type conversion, which reflectively calls a target type's valueOf(String) factory method or its String-argument constructor. This affects only applications that evaluate untrusted SpEL with a SimpleEvaluationContext whose type converter is the default or a ConversionService that includes the default converters of DefaultConversionService.

CVSS Base Scores

version 4.0
version 3.1