---
id: CVE-2024-53677
title: "File upload logic in Apache Struts is flawed.\_An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execu…"
summary: "File upload logic in Apache Struts is flawed.\_An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execu…"
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
vendor: apache
product: struts
affected:
  - 'struts >= 2.0.0, < 6.4.0'
patched:
  - struts 6.4.0
published: '2024-12-11'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T22:17:27.083'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-53677'
references:
  - url: 'https://cwiki.apache.org/confluence/display/WW/S2-067'
    label: security@apache.org
  - url: 'https://security.netapp.com/advisory/ntap-20250103-0005/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2024-12-18T04:55:36.898550Z'
scores:
  nvd: 9.8
  cna: 9.5
epss: 0.72367
epssPercentile: 0.9944
exploits:
  github: 18
  githubRepos:
    - 'https://github.com/cloudwafs/s2-067-CVE-2024-53677'
    - 'https://github.com/TAM-K592/CVE-2024-53677-S2-067'
    - 'https://github.com/yangyanglo/CVE-2024-53677'
  checkedAt: '2026-11-05T06:38:49.870Z'
ingestedAt: '2026-11-05T06:38:03.584Z'
---

## Overview

File upload logic in Apache Struts is flawed. An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.

This issue affects Apache Struts: from 2.0.0 before 6.4.0.

Users are recommended to upgrade to version 6.4.0 at least and migrate to the new  file upload mechanism https://struts.apache.org/core-developers/file-upload . If you are not using an old file upload logic based on FileuploadInterceptor your application is safe.

You can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067

## Affected

- `struts >= 2.0.0, < 6.4.0`

## Remediation

Upgrade past the affected range:

- `struts 6.4.0`
