CVE-2026-22737
JSON

5.9medium

Spring Framework Improper Path Limitation with Script View Templates

Severity
5.9medium CVSS:3.1 by vmware
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-4773-3jfm-qmx3

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

Product or packageVersionsReported by
Spring Spring Frameworkfrom 7.0.0 up to 7.0.5, from 6.2.0 up to 6.2.16, from 6.1.0 up to 6.1.25, from 5.3.0 up to 5.3.46CVE List
org.springframework:spring-webmvc (Maven)from 7.0.0-M1 before 7.0.6, from 6.2.0 before 6.2.17, from 6.0.0 up to 6.1.21, from 5.3.0 up to 5.3.39GitHub Advisory Database
org.springframework:spring-webflux (Maven)from 7.0.0-M1 before 7.0.6, from 6.2.0 before 6.2.17, from 6.0.0 up to 6.1.21, from 5.3.0 up to 5.3.39GitHub Advisory Database
vmware spring_frameworkbefore 5.3.47, from 6.1.0 before 6.1.26, from 6.2.0 before 6.2.17, from 7.0.0 before 7.0.6NVD

All scores

vmware5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El uso de vistas de plantilla con motor de scripting de Java habilitado (p. ej., JRuby, Jython) en aplicaciones Spring MVC y Spring WebFlux puede resultar en la divulgación de contenido de archivos fuera de las ubicaciones configuradas para las vistas de plantilla de script. Este problema afecta a Spring framework: de 7.0.0 a 7.0.5, de 6.2.0 a 6.2.16, de 6.1.0 a 6.1.25, de 5.3.0 a 5.3.46.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-22737 changed 2026-03-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-4773-3jfm-qmx3 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-22737 changed 2026-06-17Public domain