Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-41242 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
http://spring.io/security/cve-2025-41242 [email protected]AdvisoryRemedyVendor

Weakness Enumeration

CWE-IDCWE NameSource
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CISA-ADP

Affected Products

ProductVersions
Spring Framework
>= 6.2.0, <= 6.2.9 (semver)
>= 6.1.0, <= 6.1.21 (semver)
>= 6.0.0, <= 6.0.29 (semver)
>= 5.3.0, <= 5.3.43 (semver)

CPE

  • cpe:2.3:a:springsource:spring_framework:*:*:*:*:*:*:*:*

Remediation

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-41242
NVD Published Date:
Aug 18, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]