CVE-2026-59430 PUBLISHED

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

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

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() .

Metrics

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

Product Status

Vendor Spring
Product Spring Framework
Versions
  • affected from 7.0.0 to 7.0.10.1 (excl.)
  • affected from 6.2.0 to 6.2.21 (excl.)
  • affected from 6.1.0 to 6.1.30 (excl.)
  • affected from 6.0.0 to 6.0.33 (excl.)
  • affected from 5.3.0 to 5.3.51 (excl.)
  • affected from 0 to 5.2.27.RELEASE (excl.)
  • affected from 7.0.0 to 7.0.11 (excl.)

Credits

  • This issue was reported by WangYuhui.

References