cvelo
P3 · MediumCVSS 6.6EPSS 1.3%

Spring Security ELRequestMatcher allows Remote Code Execution via unrestricted SpEL evaluation

  • CVE-2026-59273
  • GHSA-jvvm-h938-83p5
  • EUVD-2026-141018

Description

ELRequestMatcher evaluates a provided SpEL expression against an unrestricted evaluation context that grants full reflection, type references, and arbitrary method invocation, rather than a context limited to its documented request-matching operations. Because Spring Framework's data binding auto-discovers a property editor for this type by naming convention, an application that binds untrusted input to a bean property of this matcher type can have that input evaluated as a SpEL expression under this permissive context, if invoked by the application. This can allow an attacker who controls such bound input to achieve remote code execution in the application's process.

Text from the CVE.org record.

Affected

  • Spring Spring Security

    • from 7.1.0 to before 7.1.2.1
    • from 7.0.0 to before 7.0.8.1
    • from 6.5.0 to before 6.5.13
    • from 6.4.0 to before 6.4.20
    • from 5.8.0 to before 5.8.29
    • before 5.7.27
    • from 7.1.0 to before 7.1.3
    • from 7.0.0 to before 7.0.9

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.