CVE-2025-41242
Fixed in a distro release EPSS 2%CVSS 5.9
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.
Products: vmware spring_framework
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.springframework:spring-webmvc | 6.2.10 |
| Maven | org.springframework:spring-webmvc | no fix |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | apache-activemq-5.19 | no fix |
| Chainguard | apache-activemq-6.1 | 6.1.8-r5 |
| Chainguard | apache-activemq-fips-5.19 | no fix |
| Chainguard | apache-activemq-fips-6.1 | 6.1.8-r7 |
| Chainguard | apache-nifi-registry | 2.5.0-r1 |
| Chainguard | apache-nifi-registry-toolkit | 2.5.0-r1 |
| Chainguard | conductor | 3.31.0-r4 |
| Chainguard | conductor-fips | 3.31.0-r5 |
| Chainguard | geoserver-2.27 | no fix |
| Chainguard | geoserver-2.28 | no fix |
| Chainguard | kayenta-2025.0 | no fix |
| Chainguard | kayenta-2025.1 | no fix |
| Chainguard | kayenta-2025.2 | no fix |
| Chainguard | kayenta-2025.4 | no fix |
| Chainguard | kayenta-2026.0 | no fix |
| Chainguard | kayenta-2026.1 | no fix |
| Chainguard | kayenta-fips-2025.0 | no fix |
| Chainguard | kayenta-fips-2025.1 | no fix |
| Chainguard | kayenta-fips-2025.2 | no fix |
| Chainguard | kayenta-fips-2025.4 | no fix |
| Chainguard | kayenta-fips-2026.0 | no fix |
| Chainguard | kayenta-fips-2026.1 | no fix |
| Chainguard | ontop | no fix |
| Chainguard | ontop-fips | no fix |
| Chainguard | thingsboard | 4.1-r7 |
| Chainguard | thingsboard-tb-js-executor | 4.1-r7 |
| Chainguard | thingsboard-tb-mqtt-transport | 4.1-r7 |
| Chainguard | thingsboard-tb-node | 4.1-r7 |
| Chainguard | thingsboard-tb-web-ui | 4.1-r7 |
| Debian 12 | libspring-java | no fix |
| Debian 13 | libspring-java | no fix |
| Debian 14 | libspring-java | no fix |
| Ubuntu 25.10 | libspring-java | no fix |
| Ubuntu 26.04 LTS | libspring-java | no fix |
| Ubuntu 26.10 | libspring-java | no fix |
| Ubuntu Pro 14.04 LTS | libspring-java | no fix |
| Ubuntu Pro 16.04 LTS | libspring-java | no fix |
| Ubuntu Pro 18.04 LTS | libspring-java | no fix |
| Ubuntu Pro 20.04 LTS | libspring-java | no fix |
| Ubuntu Pro 22.04 LTS | libspring-java | no fix |
| Ubuntu Pro 24.04 LTS | libspring-java | no fix |
| Wolfi | apache-nifi-registry | 2.5.0-r1 |
| Wolfi | apache-nifi-registry-toolkit | 2.5.0-r1 |
| Wolfi | thingsboard | 4.1-r7 |
| Wolfi | thingsboard-tb-js-executor | 4.1-r7 |
| Wolfi | thingsboard-tb-mqtt-transport | 4.1-r7 |
| Wolfi | thingsboard-tb-node | 4.1-r7 |
| Wolfi | thingsboard-tb-web-ui | 4.1-r7 |