WaratekVRT Sign in

CVE-2025-41242

Severity5.9 Medium CVSS 3.1
Fixed in6.2.10
WeaknessPath traversal (CWE-22)
Published18 Aug 2025
Updated17 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2026-05-11.
  • EPSS 2.3% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2025-41242 2026-05-11
Nuclei Spring Framework - Path Traversal

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2025-41242

Upgrade the affected software to 6.2.10 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle E-Business Suite / ECC Core (Spring Framework) (15.0)
Oracle Critical Patch Update January 2026 ↗ CPU 2026-Q1 Oracle Commerce / Dynamo Application Framework (Spring Framework) (11.4.0)
Oracle Communications / Security (Spring Framework) (15.1.0.0)
Oracle Construction and Engineering / Integration (Spring Framework) (22.12.0-22.12.15, 23.12.0-23.12.16, 24.12.0-24.12.12, 25.12.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Commerce Dynamo Application Framework (Spring Framework) 11.4.0 11.4.0
Oracle Communications Security (Spring Framework) 15.1.0.0 15.1.0.0
Oracle Construction and Engineering Integration (Spring Framework) 22.12.0-22.12.15, 23.12.0-23.12.16, 24.12.0-24.12.12, 25.12.0 25.12.0
Oracle E-Business Suite ECC Core (Spring Framework) 15.0 15.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework:spring-webmvc 6.2.0 6.2.10 unbounded
org.springframework:spring-webmvc 6.1.0 none 6.1.21
org.springframework:spring-webmvc 6.0.0 none 6.0.29
org.springframework:spring-webmvc 5.3.0 none 5.3.43

Products and versions

1 product, 4 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework spring-webmvc generic ≥ 5.3.0 and ≤ 5.3.43 · ≥ 6.0.0 and ≤ 6.0.29 · ≥ 6.1.0 and ≤ 6.1.21 · ≥ 6.2.0 and < 6.2.10

References

URLTags
https://github.com/spring-projects/spring-framework PACKAGE
http://spring.io/security/cve-2025-41242 WEB

Timeline

Published2025-08-18By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.