CVE-2026-22737: Spring Framework Improper Path Limitation with Script View Templates

Published Mar 19, 2026
·
Updated

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 Software

10 affected componentsFixes available
VMware Spring Framework>=7.0.0<=7.0.5, >=6.2.0<=6.2.16, >=6.1.0<=6.1.25, >=5.3.0<=5.3.46
maven/org.springframework:spring-webflux>=5.3.0<=5.3.39
maven/org.springframework:spring-webflux>=6.0.0<=6.1.21
maven/org.springframework:spring-webflux>=6.2.0<6.2.17
6.2.17
maven/org.springframework:spring-webflux>=7.0.0-M1<7.0.6
7.0.6
maven/org.springframework:spring-webmvc>=5.3.0<=5.3.39
maven/org.springframework:spring-webmvc>=6.0.0<=6.1.21
maven/org.springframework:spring-webmvc>=6.2.0<6.2.17
6.2.17
maven/org.springframework:spring-webmvc>=7.0.0-M1<7.0.6
7.0.6
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.springframework:spring-webflux to a version that resolves this vulnerability.

    Fixed in 6.2.17
  2. Upgrade

    Upgrade maven/org.springframework:spring-webflux to a version that resolves this vulnerability.

    Fixed in 7.0.6
  3. Upgrade

    Upgrade maven/org.springframework:spring-webmvc to a version that resolves this vulnerability.

    Fixed in 6.2.17
  4. Upgrade

    Upgrade maven/org.springframework:spring-webmvc to a version that resolves this vulnerability.

    Fixed in 7.0.6

Event History

Mar 19, 2026
CVE Published
via MITRE·11:53 PM
Data Sourced
via MITRE·11:53 PM
DescriptionSeverity
Mar 20, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:31 AM
Data Sourced
via GitHub·12:31 AM
DescriptionSeverityWeaknessAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22737?

CVE-2026-22737 is classified with a high severity due to the potential for unauthorized file content disclosure.

2

How do I fix CVE-2026-22737?

To fix CVE-2026-22737, update the Spring Framework to versions above 7.0.5, 6.2.16, 6.1.25, or 5.3.46.

3

What applications are affected by CVE-2026-22737?

CVE-2026-22737 affects applications using VMware Spring Framework versions between 5.3.0 and 5.3.46, 6.1.0 and 6.1.25, 6.2.0 and 6.2.16, and 7.0.0 and 7.0.5.

4

What type of vulnerability is CVE-2026-22737?

CVE-2026-22737 is an improper path limitation vulnerability that can allow content disclosure from unauthorized file locations.

5

Does CVE-2026-22737 affect both Spring MVC and Spring WebFlux?

Yes, CVE-2026-22737 affects both Spring MVC and Spring WebFlux applications that utilize Java scripting engine templates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203