CVE-2026-22737 Spring Framework Improper Path Limitation with Script View Templates

Medium 5.9 Published Updated

Attackers can read files outside configured directories in Spring MVC or WebFlux apps using Java scripting engine template views.

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-22737?

CVE-2026-22737 is a medium-severity path traversal vulnerability in Vmware Spring Framework, published on 19 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

Weakness: CWE-22

Which versions are affected by CVE-2026-22737?

16 open source packages ship an affected version, including org.springframework:spring-webflux and org.springframework:spring-webmvc. It affects 1 product.

PackageAffectedFixed in
org.springframework:spring-webflux MavenFrom 5.3.0 to 5.3.39None
org.springframework:spring-webflux MavenFrom 5.3.0 to 5.3.39None
org.springframework:spring-webflux MavenFrom 6.0.0 to 6.1.21None
org.springframework:spring-webflux MavenFrom 6.0.0 to 6.1.21None
org.springframework:spring-webflux MavenFrom 6.2.06.2.17
org.springframework:spring-webflux MavenFrom 6.2.06.2.17
10 more packages
org.springframework:spring-webflux MavenFrom 7.0.0-M17.0.6
org.springframework:spring-webflux MavenFrom 7.0.0-M17.0.6
org.springframework:spring-webmvc MavenFrom 5.3.0 to 5.3.39None
org.springframework:spring-webmvc MavenFrom 5.3.0 to 5.3.39None
org.springframework:spring-webmvc MavenFrom 6.0.0 to 6.1.21None
org.springframework:spring-webmvc MavenFrom 6.0.0 to 6.1.21None
org.springframework:spring-webmvc MavenFrom 6.2.06.2.17
org.springframework:spring-webmvc MavenFrom 6.2.06.2.17
org.springframework:spring-webmvc MavenFrom 7.0.0-M17.0.6
org.springframework:spring-webmvc MavenFrom 7.0.0-M17.0.6

Products include Vmware Spring Framework.

How do I fix CVE-2026-22737?

Upgrade org.springframework:spring-webflux to a fixed version for your release line: 6.2.17 or 7.0.6.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-22737 being exploited?

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

All Vmware Spring Framework vulnerabilities

Sources

Also known as CLEANSTART-2026-CP60630, CLEANSTART-2026-DU72906, CLSA-2026-1787057569, CLSA-2026-1787820941, CLSA-2026-1787917450, CLSA-2026-1787918303 and 15 more.

Is CVE-2026-22737 in your software?

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

Check your SBOMs for free