---
id: CVE-2024-38819
aliases:
  - GHSA-g5vr-rgqm-vf78
title: Spring Framework Path Traversal vulnerability
summary: Spring Framework Path Traversal vulnerability
severity: high
cvss: 7.5
cwe:
  - CWE-22
vendor: springframework
product: 'org.springframework:spring-webflux'
ecosystem: maven
affected:
  - 'org.springframework:spring-webflux >= 6.1.0, < 6.1.14'
  - 'org.springframework:spring-webmvc >= 6.1.0, < 6.1.14'
  - 'org.springframework:spring-webflux <= 5.3.40'
  - 'org.springframework:spring-webmvc <= 5.3.40'
  - 'org.springframework:spring-webflux >= 6.0.0, <= 6.0.24'
  - 'org.springframework:spring-webmvc >= 6.0.0, <= 6.0.24'
patched:
  - 'org.springframework:spring-webflux 6.1.14'
  - 'org.springframework:spring-webmvc 6.1.14'
published: '2024-12-19'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T15:50:34Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-g5vr-rgqm-vf78'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-38819'
  - url: 'https://spring.io/security/cve-2024-38819'
  - url: 'https://github.com/spring-projects/spring-framework/issues/33689'
  - url: >-
      https://github.com/spring-projects/spring-framework/commit/3bfbe30a7814c9ea1556d40df9bd87ddb3ba372d
  - url: >-
      https://github.com/spring-projects/spring-framework/commit/fb7890d73975a3d9e0763e0926df2bd0a608e87e
  - url: 'https://security.netapp.com/advisory/ntap-20250110-0010'
  - url: 'https://github.com/advisories/GHSA-g5vr-rgqm-vf78'
tags:
  - ghsa
  - maven
  - exploit-available
epss: 0.5604
epssPercentile: 0.99018
exploits:
  github: 5
  githubRepos:
    - 'https://github.com/masa42/CVE-2024-38819-POC'
    - 'https://github.com/GhostS3c/CVE-2024-38819'
    - 'https://github.com/skrkcb2/cve-2024-38819'
  nuclei:
    - CVE-2024-38819
  checkedAt: '2026-09-28T16:15:35.605Z'
exploitAvailable: true
ingestedAt: '2026-09-28T16:15:01.368Z'
---

## Overview

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.

## Affected packages

- `org.springframework:spring-webflux >= 6.1.0, < 6.1.14`
- `org.springframework:spring-webmvc >= 6.1.0, < 6.1.14`
- `org.springframework:spring-webflux <= 5.3.40`
- `org.springframework:spring-webmvc <= 5.3.40`
- `org.springframework:spring-webflux >= 6.0.0, <= 6.0.24`
- `org.springframework:spring-webmvc >= 6.0.0, <= 6.0.24`

## Remediation

Upgrade to a patched release:

- `org.springframework:spring-webflux 6.1.14`
- `org.springframework:spring-webmvc 6.1.14`
