CVE-2023-50164Apache Struts
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 76
- CVSS 3.1
- 9.8
- EPSS
- 22.0% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Dec 7, 2023
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-552
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Struts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core |
≥ 2.0.0 < 2.5.33 |
2.5.33 |
— |
| Maven | org.apache.struts:struts2-core |
≥ 6.0.0 < 6.3.0.2 |
6.3.0.2 |
— |
Per OSV / GitHub Advisories (GHSA-2j39-qcjm-428w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.0.0 < 2.5.33 |
| apache | struts | ≥ 6.0.0 < 6.3.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- lists.apache.org Mailing List Patch
- security.netapp.com Third Party Advisory VDB Entry
- www.openwall.com Mailing List