BreachSpiderVerified, not vibes

CVE-2024-53677 in Apache Struts

Critical 9.8

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 rec...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
CVSS v49.5
EPSS8.5%
EPSS percentile96th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Struts ≥ 2.0.0, < 6.4.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-53677
BreachSpider IDBS-2024-GLOBAL-044740-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-12-11
Last modified2026-11-03
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-53677 affects Apache Struts versions 2.0.0 to 6.3.9, allowing an attacker to manipulate file upload parameters to perform path traversal and potentially upload a malicious file, leading to Remote Code Execution. The CVSS score is 9.8, indicating a critical severity. Users are advised to upgrade to version 6.4.0 and migrate to the new file upload mechanism to mitigate this vulnerability.

The vulnerability arises from a flaw in the file upload logic of Apache Struts. An attacker can manipulate file upload parameters to perform path traversal, which can lead to the upload of a malicious file. This file can then be used to execute arbitrary code on the server, leading to a full compromise of the application and potentially the underlying system.

Compensating controls AI-drafted, review before use

Implement strict file upload validation and restrict file types to a predefined list of safe formats. Ensure that file uploads are stored in a non-executable directory and that the application does not allow traversal to sensitive directories.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2024-53677?

CVE-2024-53677 affects Apache Struts versions 2.0.0 to 6.3.9, allowing an attacker to manipulate file upload parameters to perform path traversal and potentially upload a malicious file, leading to Remote Code Execution. The CVSS score is 9.8, indicating a critical severity. Users are advised to upgrade to version 6.4.0 and migrate to the new file upload mechanism to mitigate this vulnerability.

What is the CVSS score for CVE-2024-53677?

CVE-2024-53677 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 8.5%.

Is CVE-2024-53677 actively exploited?

No confirmed active exploitation of CVE-2024-53677 as of 2026-11-04.

How do I remediate CVE-2024-53677?

Priority: IMMEDIATE. Advisory: https://cwiki.apache.org/confluence/display/WW/S2-067

What systems are affected by CVE-2024-53677?

CVE-2024-53677 affects Apache Struts.

What NERC-CIP standard applies to CVE-2024-53677?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an attacker to execute arbitrary code on the system, which can compromise the security and integrity of the control system environment.

What IEC 62443 requirement maps to CVE-2024-53677?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability in the application layer that can be exploited to gain unauthorized access and execute arbitrary code, which can compromise the security of the industrial control system.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Struts","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-03.