# CVE-2024-53677: Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks

- Priority: **Prioritise**
- Reason: Weaponized exploit (Metasploit, 11-12-2024)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-12-11 · Modified: 2026-11-04
- Aliases: GHSA-43mq-6xmg-29vm
- Record: https://cvemate.com/vulnerability/CVE-2024-53677 · JSON: https://cvemate.com/vulnerability/CVE-2024-53677/json

## Description

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

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 84.57%, percentile 99.704%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (metasploit)

## Affected

- apache software foundation apache struts: ≥ 2.0.0, \< 6.4.0
- apache struts: ≥ 2.0.0, \< 6.4.0
- org.apache.struts struts2-core (Maven): \< 6.4.0

## References

- <https://cwiki.apache.org/confluence/display/WW/S2-067>
- <https://security.netapp.com/advisory/ntap-20250103-0005/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53677>
- <https://github.com/apache/struts/commit/1ecfbae46543a83e131404f8dcc84b3d0d554854>
- <https://github.com/apache/struts/commit/3ef9ade8902a63bb560892453eeca02bfddefc78>
- <https://github.com/apache/struts/commit/930fef7679d7247db9e460c146b1698a9d7ad1e4>
- <https://github.com/apache/struts>
- <https://security.netapp.com/advisory/ntap-20250103-0005>
- <https://struts.apache.org/core-developers/file-upload>
- <https://www.dynatrace.com/news/blog/the-anatomy-of-broken-apache-struts-2-a-technical-deep-dive-into-cve-2024-53677>

---

Data as of 2026-12-05T04:02:52.202Z. 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
