CVE
CVE-2026-22737
CNA 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 versions
All Spring Framework vulnerabilities →
- spring-webmvc≥ 7.0.0-M1, < 7.0.6Fixed in 7.0.6
- spring-webmvc≥ 6.2.0, < 6.2.17Fixed in 6.2.17
- spring-webmvc≥ 6.0.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≥ 5.3.0, ≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- spring.io/security/cve-2026-22737 · Vendor Advisory
- github.com/advisories/GHSA-4773-3jfm-qmx3 · Third Party Advisory
- osv.dev/vulnerability/GHSA-4773-3jfm-qmx3 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.