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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-18 · Modified: 2025-08-25
- Aliases: UBUNTU-CVE-2025-41242, DEBIAN-CVE-2025-41242, CGA-2cjw-gx72-3cjj, CGA-2pjp-q352-fcr8, CGA-2rxx-r6j4-fwx7, CGA-7g74-2v34-v7f7, CGA-9g75-qjqr-3wxg, CGA-gp4r-6hv7-w6m9, CGA-j2c7-ggpc-58jv, CGA-qjrc-gc8f-j6hc, CGA-rm2q-vffq-qr4f, CGA-v5j3-8q9h-7m3f, CGA-w2fc-9cvg-934h, CGA-w9qp-5vw4-7cwp, CGA-wxph-rr9x-73hh, CGA-xj9h-2r9r-287v, CGA-293v-g6w6-f4qf, CGA-2j9f-xq27-rhpj, CGA-36xr-qc7v-v9w3, CGA-39p7-xpw6-cg7j, CGA-4rhp-56pj-rjjw, CGA-56hp-77c7-j86r, CGA-5phr-hgjr-6gfx, CGA-69w5-9wx8-xh2c, CGA-6pmj-9jv9-9jh5, CGA-734q-mvc3-fwj6, CGA-78v2-5jrh-w2m8, CGA-7fv8-m36w-8hg5, CGA-84c9-6mcp-gq65, CGA-8fr9-mfv2-92g6, CGA-8vff-vxpx-99fx, CGA-8wcr-23pc-f564, CGA-8x3f-295j-9vmc, CGA-97m5-4hr2-6pg2, CGA-98m6-42j8-w7wp, CGA-99m8-34j5-9qcc, CGA-9r5j-w77x-4mhw, CGA-9w4f-wfvf-5v68, CGA-cf52-2r4p-9wwm, CGA-cqfw-w25x-frc4, CGA-f3c2-9mc6-69w3, CGA-f794-7wvr-8cmq, CGA-f7fq-9g94-mp2h, CGA-fcp4-hjgj-vwq5, CGA-gf6h-6x96-28c5, CGA-gpqw-gmr6-3c6f, CGA-hj9h-592p-hrmx, CGA-jf9f-cqqx-hr5h, CGA-m4g8-6xjp-wr5q, CGA-pp3w-28mg-q7wj, CGA-prrg-grcp-j743, GHSA-r936-gwx5-v52f, CGA-pxpp-jggg-v799, CGA-q24r-2p8q-j3fr, CGA-q97j-gpxg-x696, CGA-qm2p-p7f9-rgrg, CGA-qphh-4gwx-2hc2, CGA-r234-273w-367v, CGA-vr5g-926m-mh8v, CGA-x38q-mhgj-6v6g, CGA-x9h9-cfxv-xc7h
- Record: https://cvemate.com/vulnerability/CVE-2025-41242 · JSON: https://cvemate.com/vulnerability/CVE-2025-41242/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 2.39%, percentile 84.506%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 40)

- chainguard apache-activemq-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-6.1 (Chainguard): \< 6.1.8-r5
- chainguard apache-activemq-fips-5.19 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-6.1 (Chainguard): \< 6.1.8-r7
- chainguard apache-nifi-registry (Chainguard): \< 2.5.0-r1
- chainguard apache-nifi-registry-toolkit (Chainguard): \< 2.5.0-r1
- chainguard conductor (Chainguard): \< 3.31.0-r4
- chainguard conductor-fips (Chainguard): \< 3.31.0-r5
- chainguard geoserver-2.27 (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.28 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.4 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.4 (Chainguard): All versions (No fix recorded)

## References

- <http://spring.io/security/cve-2025-41242>
- <https://ubuntu.com/security/CVE-2025-41242>
- <https://www.cve.org/CVERecord?id=CVE-2025-41242>
- <https://spring.io/security/cve-2025-41242/>
- <https://security-tracker.debian.org/tracker/CVE-2025-41242>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-41242>
- <https://github.com/spring-projects/spring-framework>

---

Data as of 2026-12-05T03:12:50.061Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
