CVE-2016-6795Apache Struts
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 8.4% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Sep 20, 2017
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In the Convention plugin in Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.
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-convention-plugin |
≥ 2.3.0 < 2.3.31 |
2.3.31 |
— |
| Maven | org.apache.struts:struts2-convention-plugin |
≥ 2.5.0 < 2.5.5 |
2.5.5 |
— |
Per OSV / GitHub Advisories (GHSA-44hv-jjx7-qfjg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | 2.3.20 |
| apache | struts | 2.3.20.1 |
| apache | struts | 2.3.20.2 |
| apache | struts | 2.3.20.3 |
| apache | struts | 2.3.21 |
| apache | struts | 2.3.22 |
| apache | struts | 2.3.23 |
| apache | struts | 2.3.24 |
| apache | struts | 2.3.24.1 |
| apache | struts | 2.3.24.2 |
| apache | struts | 2.3.24.3 |
| apache | struts | 2.3.25 |
| apache | struts | 2.3.26 |
| apache | struts | 2.3.27 |
| apache | struts | 2.3.28 |
| apache | struts | 2.3.28.1 |
| apache | struts | 2.3.29 |
| apache | struts | 2.3.30 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- security.netapp.com
- struts.apache.org Vendor Advisory