Vulnerability · Published Mar 19, 2026 · Assigned by vmware
CVE-2026-22737Spring Framework Improper Path Limitation with Script View Templates
Medium 5.9
In plain English
A medium-severity path traversal in Spring Framework from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libspring-java | no fix listed | DEBIAN-CVE-2026-22737 |
| Debian:13 | libspring-java | no fix listed | DEBIAN-CVE-2026-22737 |
| Debian:14 | libspring-java | no fix listed | DEBIAN-CVE-2026-22737 |
| Maven | org.springframework:spring-webflux | no fix listed | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webflux | 7.0.6 | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webflux | 6.2.17 | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webflux | no fix listed | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webmvc | 7.0.6 | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webmvc | 6.2.17 | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webmvc | no fix listed | GHSA-4773-3jfm-qmx3 |
| Maven | org.springframework:spring-webmvc | no fix listed | GHSA-4773-3jfm-qmx3 |
| Ubuntu:25.10 | libspring-java | no fix listed | UBUNTU-CVE-2026-22737 |
| Ubuntu:26.04:LTS | libspring-java | no fix listed | UBUNTU-CVE-2026-22737 |
| Ubuntu:26.10 | libspring-java | no fix listed | UBUNTU-CVE-2026-22737 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Framework | 7.0.0 – through 7.0.56.2.0 – through 6.2.166.1.0 – through 6.1.255.3.0 – through 5.3.46 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N