{"cve":"CVE-2025-41242","nvd":{"published":"2025-08-18T09:15:28.637","modified":"2026-06-17T09:22:39.677","status":"Deferred","description":"Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container.\n\nAn application can be vulnerable when all the following are true:\n\n  *  the application is deployed as a WAR or with an embedded Servlet container\n  *  the Servlet container  does not reject suspicious sequences https://jakarta.ee/specifications/servlet/6.1/jakarta-servlet-spec-6.1.html#uri-path-canonicalization \n  *  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\n\n\nWe 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-22"],"references":["http://spring.io/security/cve-2025-41242"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:06:45.861874017+00:00"},"epss":{"cve":"CVE-2025-41242","score":0.02127,"percentile":0.81938,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r936-gwx5-v52f","url":"https://osv.dev/vulnerability/GHSA-r936-gwx5-v52f","summary":"Spring Framework MVC Applications Path Traversal Vulnerability","modified":"2026-09-10T03:50:27.662656136Z","packages":[{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=6.2.0 <6.2.10"],"fixed":["6.2.10"]},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=6.1.0 <=6.1.21"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=6.0.0 <=6.0.29"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":[">=5.3.0 <=5.3.43"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}