CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers
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
- the application serves static resources with Spring resource handling …