CVE-2026-22737 Spring Framework Improper Path Limitation with Script View Templates
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.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework:spring-webflux Maven | From 5.3.0 to 5.3.39 | None |
org.springframework:spring-webflux Maven | From 5.3.0 to 5.3.39 | None |
org.springframework:spring-webflux Maven | From 6.0.0 to 6.1.21 | None |
org.springframework:spring-webflux Maven | From 6.0.0 to 6.1.21 | None |
org.springframework:spring-webflux Maven | From 6.2.0 | 6.2.17 |
org.springframework:spring-webflux Maven | From 6.2.0 | 6.2.17 |
10 more packages
org.springframework:spring-webflux Maven | From 7.0.0-M1 | 7.0.6 |
org.springframework:spring-webflux Maven | From 7.0.0-M1 | 7.0.6 |
org.springframework:spring-webmvc Maven | From 5.3.0 to 5.3.39 | None |
org.springframework:spring-webmvc Maven | From 5.3.0 to 5.3.39 | None |
org.springframework:spring-webmvc Maven | From 6.0.0 to 6.1.21 | None |
org.springframework:spring-webmvc Maven | From 6.0.0 to 6.1.21 | None |
org.springframework:spring-webmvc Maven | From 6.2.0 | 6.2.17 |
org.springframework:spring-webmvc Maven | From 6.2.0 | 6.2.17 |
org.springframework:spring-webmvc Maven | From 7.0.0-M1 | 7.0.6 |
org.springframework:spring-webmvc Maven | From 7.0.0-M1 | 7.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.
Other vulnerabilities in Vmware Spring Framework
- CVE-2026-47884 Spring Framework Improper Path Limitation in XsltView
- CVE-2026-47890 Spring Framework Server Sent Event stream corruption while rendering fragments
- CVE-2026-47891 Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder
- CVE-2026-47892 Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints
- CVE-2026-59313 Server Sent Event stream corruption in Spring MVC functional web framework
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.