CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 10 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Framework | 6.2.x to before 6.2.10; 6.1.x to before 6.1.22; 5.3.x to before 5.3.44 | 6.2.10, 6.1.22, 5.3.44 | Patch available | CNA |
| — | org.springframework:spring-webmvc (Maven) | 6.2.0 to before 6.2.10 | 6.2.10 | Patch available | GHSA-r936-gwx5-v52f |
| — | org.springframework:spring-webmvc (Maven) | 6.1.0 – 6.1.21 | — | No fix listed | GHSA-r936-gwx5-v52f |
| — | org.springframework:spring-webmvc (Maven) | 6.0.0 – 6.0.29 | — | No fix listed | GHSA-r936-gwx5-v52f |
| — | org.springframework:spring-webmvc (Maven) | 5.3.0 – 5.3.43 | — | No fix listed | GHSA-r936-gwx5-v52f |
- Spring Framework VendorVMware Affected 6.2.x to before 6.2.10; 6.1.x to before 6.1.22; 5.3.x to before 5.3.44 Fixed in 6.2.10, 6.1.22, 5.3.44 Patch available CNA
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.2.0 to before 6.2.10 Fixed in 6.2.10 Patch available GHSA-r936-gwx5-v52f
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.1.0 – 6.1.21 Fixed in — No fix listed GHSA-r936-gwx5-v52f
- org.springframework:spring-webmvc (Maven) Vendor— Affected 6.0.0 – 6.0.29 Fixed in — No fix listed GHSA-r936-gwx5-v52f
- org.springframework:spring-webmvc (Maven) Vendor— Affected 5.3.0 – 5.3.43 Fixed in — No fix listed GHSA-r936-gwx5-v52f
Remediation
- Fix · CNA Spring Framework (VMware) Fixed in 6.2.10, 6.1.22, 5.3.44
- Fix · GHSA-r936-gwx5-v52f org.springframework:spring-webmvc (Maven) Fixed in 6.2.10 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AMQ Broker 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Process Automation 7 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel - HawtIO 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of OptaPlanner 8 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Data Grid 8
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2025-41242
- 2026-10-03 Alias added: GHSA-r936-gwx5-v52f
References
More VMware vulnerabilities
- TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-41242 · CVE Program
- CVE-2025-41242 · NVD
- FIRST EPSS
- GHSA-r936-gwx5-v52f · GitHub Advisory Database · CC BY 4.0
- CVE-2025-41242 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences