CVEBrief

Home / Spring / Spring / CVE-2024-38816

CVE-2024-38816: is it exploited, and which versions of Spring are affected and fixed?

CVE-2024-38816 is a path traversal (reading or writing files outside the intended folder) vulnerability in Spring. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: org.springframework:spring-webmvc from 6.1.0 before 6.1.13, org.springframework:spring-webflux from 6.1.0 before 6.1.13, org.springframework:spring-webmvc through 6.0.23 and 3 more (GitHub advisory GHSA-cx7f-g6mp-7hqm). Fixed in 6.1.13 (GitHub advisory GHSA-cx7f-g6mp-7hqm). Severity: High (7.5, CVSS 3.1, from vmware).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:26 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:09 UTC
Affected
org.springframework:spring-webmvc from 6.1.0 before 6.1.13, org.springframework:spring-webflux from 6.1.0 before 6.1.13, org.springframework:spring-webmvc through 6.0.23 and 3 more
GitHub advisory GHSA-cx7f-g6mp-7hqm
Fixed in
6.1.13
GitHub advisory GHSA-cx7f-g6mp-7hqm
Severity
High 7.5
CVSS 3.1 from vmware
Exploit odds (EPSS)
21.3% in 30 days
higher than 98% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-38816?

CVE-2024-38816: Path traversal vulnerability in functional web frameworks

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions to serve static resources * resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html  is in use * the application runs on Tomcat or Jetty

From the CVE record by vmware, last updated March 18, 2025, 15:06 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
SpringSpring Spring Frameworkfrom 5.3.x before 5.3.40
from 6.0.x before 6.0.24
from 6.1.x before 6.1.13
5.3.40, 6.0.24, 6.1.13

As the CVE record by vmware states it, last updated March 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.springframework:spring-webmvc>= 6.1.0, < 6.1.136.1.13GHSA-cx7f-g6mp-7hqm
Mavenorg.springframework:spring-webflux>= 6.1.0, < 6.1.136.1.13GHSA-cx7f-g6mp-7hqm
Mavenorg.springframework:spring-webmvc>= 6.0.0, <= 6.0.23none listedGHSA-cx7f-g6mp-7hqm
Mavenorg.springframework:spring-webflux>= 6.0.0, <= 6.0.23none listedGHSA-cx7f-g6mp-7hqm
Mavenorg.springframework:spring-webmvc>= 5.3.0, <= 5.3.39none listedGHSA-cx7f-g6mp-7hqm
Mavenorg.springframework:spring-webflux>= 5.3.0, <= 5.3.39none listedGHSA-cx7f-g6mp-7hqm

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 27, 2024. Summary: Path traversal vulnerability in functional web frameworks.

How severe is CVE-2024-38816?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nvmware

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-38816 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 13, 2024)
EPSS
21.3% probability of exploitation activity in the next 30 days, percentile 97.7 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 19, 2024
Published
September 13, 2024, 06:10 UTC
CVE record updated
March 18, 2025, 15:06 UTC by vmware
NVD
Deferred, last modified June 17, 2026, 07:41 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Spring?

Every CVE in Spring

Questions about CVE-2024-38816

Is CVE-2024-38816 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 21.3% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Spring are affected by CVE-2024-38816?

org.springframework:spring-webmvc from 6.1.0 before 6.1.13, org.springframework:spring-webflux from 6.1.0 before 6.1.13, org.springframework:spring-webmvc through 6.0.23, org.springframework:spring-webflux through 6.0.23, org.springframework:spring-webmvc through 5.3.39 and org.springframework:spring-webflux through 5.3.39, per the GitHub advisory GHSA-cx7f-g6mp-7hqm. The tables above give every range the sources list.

Which version fixes CVE-2024-38816?

6.1.13, per the GitHub advisory GHSA-cx7f-g6mp-7hqm. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-38816?

High (7.5, CVSS 3.1, from vmware). The severity table above shows each score with its source.

Where is the official record of CVE-2024-38816?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.