CVE-2025-41242

CVE-2025-41242: Path traversal vulnerability on non-compliant Servlet containers

MEDIUM
5.9
CVSS Score
Published: August 18, 2025 at 08:47 AM UTC
Updated: June 17, 2026 at 09:22 AM UTC
1 product affected across 1 vendorSpring Framework

Using Spring Framework by VMware?

Get instant alerts when new vulnerabilities affect Spring Framework - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.3.x ≤ v < 5.3.446.1.x ≤ v < 6.1.226.2.x ≤ v < 6.2.105.3.x6.1.x6.2.x
Affected range stops below 5.3.44, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.22, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.10, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMvmware
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card