Skip to main content
← All vulnerabilities
CVE-2026-22737GHSA-4773-3JFM-QMX3

Spring Framework Improper Path Limitation with Script View Templates

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.6, 6.2.17
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring 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

  • org.springframework:spring-webmvcMaven

    From 7.0.0-M1 · fixed in 7.0.6

  • org.springframework:spring-webmvcMaven

    From 6.2.0 · fixed in 6.2.17

  • org.springframework:spring-webmvcMaven

    From 6.0.0 · through 6.1.21

  • org.springframework:spring-webmvcMaven

    From 5.3.0 · through 5.3.39

  • org.springframework:spring-webfluxMaven

    From 7.0.0-M1 · fixed in 7.0.6

  • org.springframework:spring-webfluxMaven

    From 6.2.0 · fixed in 6.2.17

  • org.springframework:spring-webfluxMaven

    From 6.0.0 · through 6.1.21

  • org.springframework:spring-webfluxMaven

    From 5.3.0 · through 5.3.39

References 1

spring.io