CVE-2026-59273 PUBLISHED

Spring Security ELRequestMatcher allows Remote Code Execution via unrestricted SpEL evaluation

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 6.6

Product Status

Vendor Spring
Product Spring Security
Versions
  • affected from 7.1.0 to 7.1.2.1 (excl.)
  • affected from 7.0.0 to 7.0.8.1 (excl.)
  • affected from 6.5.0 to 6.5.13 (excl.)
  • affected from 6.4.0 to 6.4.20 (excl.)
  • affected from 5.8.0 to 5.8.29 (excl.)
  • affected from 0 to 5.7.27 (excl.)
  • affected from 7.1.0 to 7.1.3 (excl.)
  • affected from 7.0.0 to 7.0.9 (excl.)

References