CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2025-41242

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.9 · medium

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

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 2.390% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.9 · published by vmware
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:57:33.063Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:57:33.063ZCVE Program
epssverified2026-11-19T16:04:40.990ZFIRST EPSS
patchesverified2026-11-19T12:52:09.886ZOSV
affectedverified2026-11-19T12:57:33.063ZCVE Program
lifecycleverified2026-11-19T12:57:33.063ZCVE Program

Affected versions and configuration

VMware Spring Framework; default status: unaffected: 6.2.x to < 6.2.10 [affected; scheme: OSS]; 6.1.x to < 6.1.22 [affected; scheme: commercial]; 5.3.x to < 5.3.44 [affected; scheme: commercial]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "VMware",
      "product": "Spring Framework",
      "versions": [
        {
          "status": "affected",
          "version": "6.2.x",
          "lessThan": "6.2.10",
          "versionType": "OSS"
        },
        {
          "status": "affected",
          "version": "6.1.x",
          "lessThan": "6.1.22",
          "versionType": "commercial"
        },
        {
          "status": "affected",
          "version": "5.3.x",
          "lessThan": "5.3.44",
          "versionType": "commercial"
        }
      ],
      "packageName": "Spring Framework",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-41242",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-08-18T11:20:32.641979Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-22",
              "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-08-25T18:14:59.837Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-r936-gwx5-v52f",
  "aliases": [
    "CVE-2025-41242"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.2.10"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.2.0",
        "6.2.1",
        "6.2.2",
        "6.2.3",
        "6.2.4",
        "6.2.5",
        "6.2.6",
        "6.2.7",
        "6.2.8",
        "6.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-r936-gwx5-v52f/GHSA-r936-gwx5-v52f.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.1.0"
            },
            {
              "last_affected": "6.1.21"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.1.0",
        "6.1.1",
        "6.1.10",
        "6.1.11",
        "6.1.12",
        "6.1.13",
        "6.1.14",
        "6.1.15",
        "6.1.16",
        "6.1.17",
        "6.1.18",
        "6.1.19",
        "6.1.2",
        "6.1.20",
        "6.1.21",
        "6.1.3",
        "6.1.4",
        "6.1.5",
        "6.1.6",
        "6.1.7",
        "6.1.8",
        "6.1.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-r936-gwx5-v52f/GHSA-r936-gwx5-v52f.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "last_affected": "6.0.29"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.0.0",
        "6.0.1",
        "6.0.10",
        "6.0.11",
        "6.0.12",
        "6.0.13",
        "6.0.14",
        "6.0.15",
        "6.0.16",
        "6.0.17",
        "6.0.18",
        "6.0.19",
        "6.0.2",
        "6.0.20",
        "6.0.21",
        "6.0.22",
        "6.0.23",
        "6.0.3",
        "6.0.4",
        "6.0.5",
        "6.0.6",
        "6.0.7",
        "6.0.8",
        "6.0.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-r936-gwx5-v52f/GHSA-r936-gwx5-v52f.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.3.0"
            },
            {
              "last_affected": "5.3.43"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework:spring-webmvc",
        "purl": "pkg:maven/org.springframework/spring-webmvc",
        "ecosystem": "Maven"
      },
      "versions": [
        "5.3.0",
        "5.3.1",
        "5.3.10",
        "5.3.11",
        "5.3.12",
        "5.3.13",
        "5.3.14",
        "5.3.15",
        "5.3.16",
        "5.3.17",
        "5.3.18",
        "5.3.19",
        "5.3.2",
        "5.3.20",
        "5.3.21",
        "5.3.22",
        "5.3.23",
        "5.3.24",
        "5.3.25",
        "5.3.26",
        "5.3.27",
        "5.3.28",
        "5.3.29",
        "5.3.3",
        "5.3.30",
        "5.3.31",
        "5.3.32",
        "5.3.33",
        "5.3.34",
        "5.3.35",
        "5.3.36",
        "5.3.37",
        "5.3.38",
        "5.3.39",
        "5.3.4",
        "5.3.5",
        "5.3.6",
        "5.3.7",
        "5.3.8",
        "5.3.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-r936-gwx5-v52f/GHSA-r936-gwx5-v52f.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-41242",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/spring-projects/spring-framework",
      "type": "PACKAGE"
    },
    {
      "url": "http://spring.io/security/cve-2025-41242",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2025-08-18T09:15:28Z",
    "github_reviewed_at": "2025-08-18T22:27:13Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packageorg.springframework:spring-webmvcNot a distribution channel6.2.10Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history