Spring Security ELRequestMatcher allows Remote Code Execution via unrestricted SpEL evaluation
Summary
| CVE | CVE-2026-59273 |
|---|---|
| State | PUBLISHED |
| Assigner | vmware |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 07:17:17 UTC |
| Updated | 2026-12-02 15:17:27 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.6 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-917 | CWE-917 CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 6.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Spring | Spring Security | affected 7.1.0 7.1.2.1 semver | Not specified |
| CNA | Spring | Spring Security | affected 7.0.0 7.0.8.1 semver | Not specified |
| CNA | Spring | Spring Security | affected 6.5.0 6.5.13 semver | Not specified |
| CNA | Spring | Spring Security | affected 6.4.0 6.4.20 semver | Not specified |
| CNA | Spring | Spring Security | affected 5.8.0 5.8.29 semver | Not specified |
| CNA | Spring | Spring Security | affected 5.7.27 semver | Not specified |
| CNA | Spring | Spring Security | affected 7.1.0 7.1.3 OSS | Not specified |
| CNA | Spring | Spring Security | affected 7.0.0 7.0.9 OSS | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| nvd.nist.gov/vuln-metrics/cvss/v3-calculator | [email protected] | nvd.nist.gov | |
| spring.io/security/cve-2026-59273 | [email protected] | spring.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.