CVE-2025-41242
Last modified
CVE-2025-41242 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 1.92% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-41242?
How severe is CVE-2025-41242?
How do I fix CVE-2025-41242?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-41237VMware ESXi, Workstation, and Fusion contain an integer-unde…9.3
- CVE-2025-41238VMware ESXi, Workstation, and Fusion contain a heap-overflow…9.3
- CVE-2025-41239VMware ESXi, Workstation, Fusion, and VMware Tools contains …7.1
- CVE-2025-4124Delta Electronics ISPSoft version 3.20 is vulnerable to an O…9.8
- CVE-2025-41240Three Bitnami Helm charts mount Kubernetes Secrets under a p…10
- CVE-2025-41241VMware vCenter contains a denial-of-service vulnerability. A…4.4
- CVE-2025-41243Spring Cloud Gateway Server Webflux may be vulnerable to Spr…10
- CVE-2025-41244VMware Aria Operations and VMware Tools contain a local priv…7.8
- CVE-2025-41245VMware Aria Operations contains an information disclosure vu…4.9
- CVE-2025-41246VMware Tools for Windows contains an improper authorisation …7.6
- CVE-2025-41248The Spring Security annotation detection mechanism may not c…7.5
- CVE-2025-41249The Spring Framework annotation detection mechanism may not …7.5
Are you affected by CVE-2025-41242?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
