Eval Injection in Spring Security - CVE-2026-59273

 

Eval Injection in Spring Security - CVE-2026-59273

Published: November 20, 2026


Vulnerability identifier: #VU168587
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59273
CWE-ID: CWE-95
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code in the application process.

The vulnerability exists due to unrestricted SpEL evaluation in ELRequestMatcher when an application binds external input to a bean property of that type. A remote attacker can supply a SpEL expression through that input to execute arbitrary code in the application process.


Affected software

Spring Security

How to mitigate CVE-2026-59273

Install security update from vendor's website.

Spring Security - addressed in versions 5.7.27, 5.8.29, 6.4.20, 6.5.13, 7.0.8.1, 7.0.9, 7.1.2.1, 7.1.3

External References

Related Security Bulletins