CVE-2026-22737
MEDIUM 5.9CVSS 3.1Spring Framework Improper Path Limitation with Script View Templates
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.
- Published
- 20 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-4773-3jfm-qmx3
- Sources
- NVDJSONOSV GHSA-4773-3jfm-qmx3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
< 5.3.47 | 5.3.47 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.1.0, < 6.1.26 | 6.1.26 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.2.0, < 6.2.17 | 6.2.17 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.6 | 7.0.6 |
| OSV | Maven | org.springframework:spring-webmvc | >= 7.0.0-M1, < 7.0.6 | 7.0.6 |
| OSV | Maven | org.springframework:spring-webmvc | >= 6.2.0, < 6.2.17 | 6.2.17 |
| OSV | Maven | org.springframework:spring-webmvc | >= 6.0.0, <= 6.1.21 | |
| OSV | Maven | org.springframework:spring-webmvc | >= 5.3.0, <= 5.3.39 | |
| OSV | Maven | org.springframework:spring-webflux | >= 7.0.0-M1, < 7.0.6 | 7.0.6 |
| OSV | Maven | org.springframework:spring-webflux | >= 6.2.0, < 6.2.17 | 6.2.17 |
| OSV | Maven | org.springframework:spring-webflux | >= 6.0.0, <= 6.1.21 | |
| OSV | Maven | org.springframework:spring-webflux | >= 5.3.0, <= 5.3.39 |
References
- https://spring.io/security/cve-2026-22737 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22737 · ADVISORY
- https://github.com/spring-projects/spring-framework · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 20 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Mar 2026)