Eval Injection Affecting org.springframework.security:spring-security-web package, versions [,7.0.9)[7.1.0-M1,7.1.3)


Severity

Recommended
0.0
critical
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 Learn

Learn about Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-22729313
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59273  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-web to version 7.0.9, 7.1.3 or higher.

Overview

org.springframework.security:spring-security-web is a package within Spring Security that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Eval Injection in the ELRequestMatcher class, whose createELContext method evaluates the matcher's SpEL expression against a StandardEvaluationContext that permits reflection, type references, and arbitrary method invocation. An attacker can execute arbitrary code when application data binding populates a bean property of the ELRequestMatcher type from attacker-controlled input, because Spring's property-editor discovery then evaluates that input as SpEL in the unrestricted context. This requires the application to bind external input to a property of this type.

CVSS Base Scores

version 4.0
version 3.1