CVE-2026-22737 json
Spring Framework Improper Path Limitation with Script View Templates
published 2026-03-19 7 mo ago modified 2026-09-10 1 mo ago also GHSA-4773-3jfm-qmx3 , EUVD-2026-13406
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.springframework:spring-webmvc 6.2.17, 7.0.6
- maven org.springframework:spring-webflux 6.2.17, 7.0.6
- vmware spring_framework 5.3.47, 6.1.26, 6.2.17, 7.0.6
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-22737 updated cvss 6.5
Spring Framework: Spring Framework: Information disclosure via Java scripting engine enabled template views
-
Red Hat AMQ Broker 7 spring-webmvc Red Hat build of Apache Camel - HawtIO 4 spring-webmvc, spring-webflux Red Hat build of Apache Camel for Spring Boot 4 spring-webmvc Red Hat build of OptaPlanner 8 spring-webmvc Red Hat Data Grid 8 spring-webmvc Red Hat Enterprise Linux 8 log4j, resteasy, log4j-jcl, log4j-web, log4j-slf4j, resteasy-javadocaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 9 log4j, resteasy, log4j-jcl, log4j-slf4j, pki-resteasy-core, pki-resteasy-client, +2 moreaffected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Fuse 7 spring-webmvc, spring-webflux Red Hat JBoss Enterprise Application Platform 7 spring-webmvc, spring-webflux Red Hat JBoss Enterprise Application Platform 8 spring-webmvc, spring-webflux Red Hat JBoss Enterprise Application Platform Expansion Pack spring-webmvc, spring-webflux Red Hat OpenShift Dev Spaces devspaces/openvsx-rhel9, devspaces/pluginregistry-rhel9 Red Hat Process Automation 7 spring-webmvcaffected: workaround, no fix available “Fix deferred”
+1 more productsfewer
Red Hat Single Sign-On 7 spring-webmvc
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-webmvc | >=7.0.0-M1, <7.0.6 >=6.2.0, <6.2.17 >=6.0.0, <=6.1.21 >=5.3.0, <=5.3.39 |
7.0.6 6.2.17 |
| maven | org.springframework:spring-webflux | >=7.0.0-M1, <7.0.6 >=6.2.0, <6.2.17 >=6.0.0, <=6.1.21 >=5.3.0, <=5.3.39 |
7.0.6 6.2.17 |
Affected products
- Spring Spring Framework
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
spring.io
/security/cve-2026-22737
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-22737
advisory
-
github.com
/spring-projects/spring-framework
package
Sources
- CVE List CVE-2026-22737
- GitHub Advisory GHSA-4773-3jfm-qmx3
- NVD CVE-2026-22737
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.