Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-53677

CRITICAL 9.5EPSS 96%

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

Also known as GHSA-43mq-6xmg-29vm

Mitigation

  • Upgrade org.apache.struts:struts2-core to 6.4.0 or later.

Who should check

  • Projects that depend on Maven package org.apache.struts:struts2-core (< 6.4.0)
  • Anyone running Apache Software Foundation Apache Struts >= 2.0.0, < 6.4.0

Vulnerability facts

Affected
org.apache.struts:struts2-core < 6.4.0
Fixed in
6.4.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.5 (v4.0, CNA)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:RedOpen in CVSS calculator
Show all 17 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: High
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
  • S: N
  • AU: Y
  • R: A
  • V: C
  • RE: L
  • U: Red
EPSS
8.49% chance of exploitation in 30 days (percentile 96, 2026-11-26)
CWE
CWE-434
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.struts:struts2-core< 6.4.06.4.0osv
Apache Software Foundation Apache Struts>= 2.0.0, < 6.4.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-53677. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53677.md
Affected: org.apache.struts:struts2-core < 6.4.0
Fixed in: 6.4.0

Steps:
1. Search this machine and project for org.apache.struts:struts2-core (Maven), Apache Software Foundation Apache Struts: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-53677 being exploited?

There is no confirmed exploitation: CVE-2024-53677 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 8.49% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-53677?

Critical: CVSS 9.5 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-53677?

org.apache.struts:struts2-core < 6.4.0.

Is there a fix for CVE-2024-53677?

Yes. Fixed in 6.4.0. Upgrade org.apache.struts:struts2-core to 6.4.0 or later.

How do I check if I'm affected by CVE-2024-53677?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors