Spring Framework Improper Path Limitation with Script View Templates
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 14 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Framework | 7.0.0 – 7.0.5; 6.2.0 – 6.2.16; 6.1.0 – 6.1.25; 5.3.0 – 5.3.46 | — | No fix listed | CNA |
| — | org.springframework:spring-webmvc (Maven) | 7.0.0-M1 to before 7.0.6 | 7.0.6 | Patch available | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webmvc (Maven) | 6.2.0 to before 6.2.17 | 6.2.17 | Patch available | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webmvc (Maven) | 6.0.0 – 6.1.21 | — | No fix listed | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webmvc (Maven) | 5.3.0 – 5.3.39 | — | No fix listed | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webflux (Maven) | 7.0.0-M1 to before 7.0.6 | 7.0.6 | Patch available | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webflux (Maven) | 6.2.0 to before 6.2.17 | 6.2.17 | Patch available | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webflux (Maven) | 6.0.0 – 6.1.21 | — | No fix listed | GHSA-4773-3jfm-qmx3 |
| — | org.springframework:spring-webflux (Maven) | 5.3.0 – 5.3.39 | — | No fix listed | GHSA-4773-3jfm-qmx3 |
- Spring Framework VendorVMware Affected 7.0.0 – 7.0.5; 6.2.0 – 6.2.16; 6.1.0 – 6.1.25; 5.3.0 – 5.3.46 Fixed in — No fix listed CNA
- org.springframework:spring-webmvc (Maven) Vendor— Affected 7.0.0-M1 to before 7.0.6 Fixed in 7.0.6 Patch available GHSA-4773-3jfm-qmx3
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.2.0 to before 6.2.17 Fixed in 6.2.17 Patch available GHSA-4773-3jfm-qmx3
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.0.0 – 6.1.21 Fixed in — No fix listed GHSA-4773-3jfm-qmx3
- org.springframework:spring-webmvc (Maven) Vendor— Affected 5.3.0 – 5.3.39 Fixed in — No fix listed GHSA-4773-3jfm-qmx3
- org.springframework:spring-webflux (Maven) Vendor— Affected 7.0.0-M1 to before 7.0.6 Fixed in 7.0.6 Patch available GHSA-4773-3jfm-qmx3
- org.springframework:spring-webflux (Maven) Vendor— Affected 6.2.0 to before 6.2.17 Fixed in 6.2.17 Patch available GHSA-4773-3jfm-qmx3
- org.springframework:spring-webflux (Maven) Vendor— Affected 6.0.0 – 6.1.21 Fixed in — No fix listed GHSA-4773-3jfm-qmx3
- org.springframework:spring-webflux (Maven) Vendor— Affected 5.3.0 – 5.3.39 Fixed in — No fix listed GHSA-4773-3jfm-qmx3
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* | before 5.3.47; 6.1.0 to before 6.1.26; 6.2.0 to before 6.2.17; 7.0.0 to before 7.0.6 | Vulnerable | VMware |
- cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* Versions before 5.3.47; 6.1.0 to before 6.1.26; 6.2.0 to before 6.2.17; 7.0.0 to before 7.0.6 Vulnerable ·VMware
Remediation
- Fix · GHSA-4773-3jfm-qmx3 org.springframework:spring-webmvc (Maven) Fixed in 7.0.6 Advisory →
- Fix · GHSA-4773-3jfm-qmx3 org.springframework:spring-webmvc (Maven) Fixed in 6.2.17 Advisory →
- Fix · GHSA-4773-3jfm-qmx3 org.springframework:spring-webflux (Maven) Fixed in 7.0.6 Advisory →
- Fix · GHSA-4773-3jfm-qmx3 org.springframework:spring-webflux (Maven) Fixed in 6.2.17 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AMQ Broker 7 | Affected | No fix yet: Fix deferred |
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Process Automation 7 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel - HawtIO 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of OptaPlanner 8 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22737
- 2026-10-03 Alias added: GHSA-4773-3jfm-qmx3
References
More VMware Spring Framework vulnerabilities
- TI-2022-07142 Code injection in Spring Framework KEVCVSS 3.1CRITICAL 9.8
- TI-2018-01175 Code injection in Spring Framework CVSS 3.1CRITICAL 9.8
- TI-2020-04444 RFD Attack via "Content-Disposition" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application CVSS 3.1HIGH 7.5
- TI-2018-01180 Code injection in Spring Framework CVSS 3.1CRITICAL 9.8
- TI-2016-09283 Pivotal Spring Framework through 5.3.16 suffers from a potential remote code execution… CVSS 3.1CRITICAL 9.8
- TI-2014-00050 The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8… CVSS 2.0MEDIUM 6.8
Sources
- CVE-2026-22737 · CVE Program
- CVE-2026-22737 · NVD
- FIRST EPSS
- GHSA-4773-3jfm-qmx3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-22737 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences