CVE-2026-22737
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.
CWE
- CWE-22 — CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected
- Spring / Spring Framework — v=7.0.0 ≤7.0.5 [affected]; v=6.2.0 ≤6.2.16 [affected]; v=6.1.0 ≤6.1.25 [affected]; v=5.3.0 ≤5.3.46 [affected]
CVSS
- 3.1 score=5.9 severity=MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
Source
cvelistV5-main/cves/2026/22xxx/CVE-2026-22737.json