CVE-2023-50164: Apache Struts: File upload component had a directory traversal vulnerability
Vulnerability summary
CVE-2023-50164 is a critical (CVSS 9.8) vulnerability in apache software foundation apache struts. EPSS estimates a 80.82% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 81% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 07-12-2023PublishedVulnerability first disclosed.
- 14-03-2025Last modifiedVulnerability information updated.
Description
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. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
80.82%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 80.82% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- struts≥ 2.0.0, < 2.5.33 | ≥ 6.0.0, < 6.3.0.2
Apache software foundation1 product
- apache struts≥ 2.0.0, ≤ 2.5.32 | ≥ 6.0.0, ≤ 6.3.0.1
Org.apache.struts1 product
- struts2-core≥ 2.0.0, < 2.5.33 | ≥ 6.0.0, < 6.3.0.2
3 vendors · 3 products
References
11 links- packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.htmlWEBThird Party AdvisoryVDB Entry
- github.com/apache/strutsPACKAGE