# CVE-2025-41242: CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers

- Severity: Medium 5.9 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.39%, higher than 84% of CVEs (2026-12-01)
- Published: 2025-08-18T08:47:07.427Z
- Modified: 2026-09-10T03:50:27.662Z
- Also known as: GHSA-r936-gwx5-v52f
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

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:

  *  the application is deployed as a WAR or with an embedded Servlet container
  *  the Servlet container  does not reject suspicious sequences https://jakarta.ee/specifications/servlet/6.1/jakarta-servlet-spec-6.1.html#uri-path-canonicalization 
  *  the application  serves static resources https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title  with Spring resource handling


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.

(As written by CVE List.)

## Affected

- Spring Framework: from 6.2.x before 6.2.10; from 6.1.x before 6.1.22; from 5.3.x before 5.3.44
- org.springframework:spring-webmvc (Maven): from 6.2.0 before 6.2.10; from 6.1.0 up to 6.1.21; from 6.0.0 up to 6.0.29; from 5.3.0 up to 5.3.43

## Every score

- vmware: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <http://spring.io/security/cve-2025-41242> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-41242> (advisory)
- <https://github.com/spring-projects/spring-framework> (package)

## Sources

- CVE List: [CVE-2025-41242](https://www.cve.org/CVERecord?id=CVE-2025-41242), CVE Terms of Use, modified 2025-08-25
- GitHub Advisory Database: [GHSA-r936-gwx5-v52f](https://github.com/advisories/GHSA-r936-gwx5-v52f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-41242](https://nvd.nist.gov/vuln/detail/CVE-2025-41242), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-41242 · Whole record: https://cve.day/CVE-2025-41242.json · Rebuilt by cve.day 2026-11-25T22:59:02.655Z
