1. Home
  2. Vulnerabilities
  3. CVE-2025-41242

CVE-2025-41242

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a…

Published 18 Aug 2025 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 56/100

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.

Affected products and versions

No product provided by the sources yet.

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Spring Framework - Path Traversalofficial source

Nuclei template

nuclei -u https://VOTRE-HOTE -t http/cves/2025/CVE-2025-41242.yaml

Source : Open

Timeline

  1. — CVE published (cve)
  2. — Nuclei detection template (nuclei) date first seen
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, CNA:security@vmware.com)
Weakness
CWE-22 · Traversée de chemin / fichiers

How this data is obtained and calculated