Medium

Spring Framework MVC Applications Path Traversal Vulnerability

  • Disclosed: 18.08.2025
  • Updated: 11.10.2026 13:20

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container.

An application can be vulnerable when all the following are true:

We have verified that applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration. Because we cannot check exploits against all Servlet containers and configuration variants, we strongly recommend upgrading your application.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework:spring-webmvc >= 6.2.0, < 6.2.10, >= 6.1.0, <= 6.1.21, >= 6.0.0, <= 6.0.29, >= 5.3.0, <= 5.3.43 6.2.10

References

CVSS score 5.9/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-22
Platform
Java / Kotlin (Maven)
Package
org.springframework:spring-webmvc
Disclosed
18.08.2025
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-r936-gwx5-v52f - CC BY 4.0

Vulnerability history: org.springframework:spring-webmvc

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (27) in the archive
Total entries
27
First → latest
10.2018 08.2026
Without a fix
0
Exploited in attacks
1

Severity breakdown

  • Critical 4
  • High 8
  • Medium 13
  • Low 2

Disclosures per year

  1. 2018: 1
  2. 2019: 0
  3. 2020: 2
  4. 2021: 0
  5. 2022: 5
  6. 2023: 2
  7. 2024: 3
  8. 2025: 1
  9. 2026: 13
Severity:
  1. Critical · 9.8 CVE-2026-47890 >= 6.2.0, <= 6.2.19, >= 7.0.0, < 7.0.9 7.0.9
  2. Critical · 9.8 CVE-2026-47884 <= 5.2.25.RELEASE, >= 5.3.0, <= 5.3.49, >= 6.0.0, <= 6.0.30, >= 6.1.0, <= 6.1.28, >= 6.2.0, <= 6.2.19, >= 7.0.0, < 7.0.9 7.0.9
  3. High · 7.1 CVE-2026-41845 >= 7.0.0, < 7.0.8, >= 6.2.0, < 6.2.19, >= 6.1.0, <= 6.1.21, <= 5.3.39 7.0.8, 6.2.19
  4. High · 7.5 CVE-2026-41842 >= 7.0.0, < 7.0.8, >= 6.2.0, < 6.2.19, >= 6.1.0, <= 6.1.21, <= 5.3.39 7.0.8, 6.2.19
  5. Spring Framework MVC Applications Path Traversal Vulnerability this entry
    Medium · 5.9 CVE-2025-41242 >= 6.2.0, < 6.2.10, >= 6.1.0, <= 6.1.21, >= 6.0.0, <= 6.0.29, >= 5.3.0, <= 5.3.43 6.2.10
  6. High · 7.5 CVE-2024-38819 >= 6.1.0, < 6.1.14, <= 5.3.40, >= 6.0.0, <= 6.0.24 6.1.14
  7. High · 7.5 CVE-2024-38816 >= 6.1.0, < 6.1.13, >= 6.0.0, <= 6.0.23, >= 5.3.0, <= 5.3.39 6.1.13
  8. High · 7.5 CVE-2023-34053 >= 6.0.0, < 6.0.14 6.0.14
  9. Critical · 9.1 CVE-2023-20860 >= 6.0.0, < 6.0.7, >= 5.3.0, < 5.3.26 6.0.7, 5.3.26
  10. High · 8.8 CVE-2014-0225 >= 4.0.0, < 4.0.5, >= 3.0.0, < 3.2.8 4.0.5, 3.2.8
  11. Critical · 9.8 Exploited in attacks CVE-2022-22965 < 5.2.20.RELEASE, >= 5.3.0, < 5.3.18 5.2.20.RELEASE, 5.3.18
  12. High · 7.5 CVE-2020-5398 >= 5.2.0.RELEASE, < 5.2.3.RELEASE, >= 5.1.0.RELEASE, < 5.1.13.RELEASE, >= 5.0.0.RELEASE, < 5.0.16.RELEASE 5.2.3.RELEASE, 5.1.13.RELEASE, 5.0.16.RELEASE
  13. High · 7.5 CVE-2016-9878 < 3.2.18, >= 4.2.0, < 4.2.9, >= 4.3.0, < 4.3.5 3.2.18, 4.2.9, 4.3.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.