CVE-2026-22737
March 19, 2026
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 Packages
https://github.com/spring-projects/spring-framework.git (GITHUB):
Affected version(s) >=v7.0.0-M1 <v7.0.6Fix Suggestion:
Update to version v7.0.6org.springframework:spring-webflux (JAVA):
Affected version(s) >=6.2.0 <6.2.17Fix Suggestion:
Update to version 6.2.17org.springframework:spring-webflux (JAVA):
Affected version(s) >=7.0.0-M1 <7.0.6Fix Suggestion:
Update to version 7.0.6org.springframework:spring-webflux (JAVA):
Affected version(s) >=7.0.0 <7.0.6Fix Suggestion:
Update to version 7.0.6org.springframework:spring-webmvc (JAVA):
Affected version(s) >=6.2.0 <6.2.17Fix Suggestion:
Update to version 6.2.17org.springframework:spring-webmvc (JAVA):
Affected version(s) >=7.0.0-M1 <7.0.6Fix Suggestion:
Update to version 7.0.6Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.06