CubePath

CVE-2024-53677

Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks

CVSS 4.0 Critical 9.5

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:A/V:C/RE:L/U:Red

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

Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org

Key data

CVSS 4.0 Critical 9.5

Score published by apache in the CVE record.

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:A/V:C/RE:L/U:Red

  • Attack vector: Network

    The vulnerable component can be reached over a network, possibly from the Internet.

  • Attack complexity: High

    The attacker has to evade or get around security controls that are in place, which takes target-specific work.

  • Attack requirements: Present

    The attack depends on certain deployment or execution conditions being present.

  • Privileges required: None

    No account or privileges are needed.

  • User interaction: None

    No action from any user is needed.

  • Vulnerable system: confidentiality: High

    Serious or total effect on the secrecy of data.

  • Vulnerable system: integrity: High

    Serious or total effect on the trustworthiness of data.

  • Vulnerable system: availability: High

    Serious or total effect on availability.

  • Subsequent systems: confidentiality: High

    Serious or total effect on other systems' data secrecy.

  • Subsequent systems: integrity: High

    Serious or total effect on other systems' data trustworthiness.

  • Subsequent systems: availability: High

    Serious or total effect on other systems' availability.

CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.

EPSS

Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days.
Score
0.72367 (72.4% probability)
Percentile
99.4%
Scores of
Nov 10, 2026
Model
v2026.06.15

CISA assessment as of Dec 18, 2024

Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA.
Exploitation
Public proof of concept recorded by CISA
Automatable
no
Technical impact
total

Weakness (CWE)

CWE catalog version 5.0.
CWE names: Copyright © 2006-2026, The MITRE Corporation. See /security/cve/legal for the CWE license.
  • CWE-434Unrestricted Upload of File with Dangerous Type

Affected products

Products listed in the CVE record, as the CNA published them.
  • Apache Struts

    • affected: 2.0.0 up to before 6.4.0

References

Links listed in the CVE record. They lead to other sites, which CubePath does not control.

Timeline

  1. ID reserved
  2. Record published
  3. Record last updated

Look up another CVE

About CubePath

CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection.

Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:51 UTC. Sources and licenses