CVE-2025-41242
published medium CVSS 3.1 · 5.9CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| VMware | — | Spring Framework6.2.x to < 6.2.10 · 6.1.x to < 6.1.22 · 5.3.x to < 5.3.44 · Other versions: unaffected | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| VMware | Spring Framework | 6.2.x to < 6.2.10 (affected · OSS)6.1.x to < 6.1.22 (affected · commercial)5.3.x to < 5.3.44 (affected · commercial)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2vmware · cna
CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a58dde859470a5f8f1a731489a499f7a93050044401085f76c1f1214d41cf042
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record