CVE-2026-41852 Spring Framework Arbitrary Method Invocation in SpEL Expressions

Low 3.7 Published Updated

Attackers can invoke arbitrary zero-argument methods via SpEL expressions, potentially executing unintended application logic.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-41852?

CVE-2026-41852 is a low-severity code injection vulnerability in Vmware Spring Framework, published on 9 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in Spring Expression Language (SpEL) evaluation logic allows for arbitrary zero-argument method invocation, even within restricted or read-only contexts, which may allow an attacker to invoke unintended application logic.

Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Weakness: CWE-863

Which versions are affected by CVE-2026-41852?

8 open source packages ship an affected version, including org.springframework:spring-expression. It affects 1 product.

PackageAffectedFixed in
org.springframework:spring-expression MavenAll versions to 5.3.39None
org.springframework:spring-expression MavenAll versions to 5.3.39None
org.springframework:spring-expression MavenFrom 6.1.0 to 6.1.21None
org.springframework:spring-expression MavenFrom 6.1.0 to 6.1.21None
org.springframework:spring-expression MavenFrom 6.2.06.2.19
org.springframework:spring-expression MavenFrom 6.2.06.2.19
2 more packages
org.springframework:spring-expression MavenFrom 7.0.07.0.8
org.springframework:spring-expression MavenFrom 7.0.07.0.8

Products include Vmware Spring Framework.

How do I fix CVE-2026-41852?

Upgrade org.springframework:spring-expression to a fixed version for your release line: 6.2.19 or 7.0.8.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-41852 being exploited?

There is no known exploitation of CVE-2026-41852 in the wild and no public exploit code.

All Vmware Spring Framework vulnerabilities

Sources

Also known as CLEANSTART-2026-QE04836, CLEANSTART-2026-QR01037, CLEANSTART-2026-WX93243, CLSA-2026-1788534182, CLSA-2026-1788547257, DEBIAN-CVE-2026-41852 and 23 more.

Is CVE-2026-41852 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free