Spring Framework Unintended Constructor and Method Invocation via Type Conversion in SpEL

Summary

CVECVE-2026-59430
StatePUBLISHED
Assignervmware
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-02 08:17:46 UTC
Updated2026-12-02 19:26:40 UTC
DescriptionApplications 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary5.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
3.1CNACVSS5.6MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report