Spring Framework Unintended Constructor and Method Invocation via Type Conversion in SpEL
Summary
| CVE | CVE-2026-59430 |
|---|---|
| State | PUBLISHED |
| Assigner | vmware |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 08:17:46 UTC |
| Updated | 2026-12-02 19:26:40 UTC |
| Description | Applications which accept user-supplied Spring Expression Language (SpEL) expressions and evaluate them with a SimpleEvaluationContext may be vulnerable to the invocation of constructors or methods through implicit type conversion, bypassing the restrictions on constructor and method invocations. Specifically, an application is vulnerable when all the following conditions are met: The application accepts and evaluates untrusted or user-controlled SpEL expressions using SimpleEvaluationContext . The SimpleEvaluationContext uses its default type converter, or it is configured with a TypeConverter or ConversionService that includes the default converters of DefaultConversionService — for example, a DefaultConversionService or a ConversionService populated via DefaultConversionService.addDefaultConverters() . |
Risk And Classification
Primary CVSS: v3.1 5.6 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
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 | 5.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| 3.1 | CNA | CVSS | 5.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Spring | Spring Framework | affected 7.0.0 7.0.10.1 semver | Not specified |
| CNA | Spring | Spring Framework | affected 6.2.0 6.2.21 semver | Not specified |
| CNA | Spring | Spring Framework | affected 6.1.0 6.1.30 semver | Not specified |
| CNA | Spring | Spring Framework | affected 6.0.0 6.0.33 semver | Not specified |
| CNA | Spring | Spring Framework | affected 5.3.0 5.3.51 semver | Not specified |
| CNA | Spring | Spring Framework | affected 5.2.27.RELEASE semver | Not specified |
| CNA | Spring | Spring Framework | affected 7.0.0 7.0.11 OSS | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| spring.io/security/cve-2026-59430 | [email protected] | spring.io | |
| nvd.nist.gov/vuln-metrics/cvss/v3-calculator | [email protected] | nvd.nist.gov | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: This issue was reported by WangYuhui. (en)
There are currently no legacy QID mappings associated with this CVE.