CVE-2016-6795
CRITICAL 9.8CVSS 3.0Path Traversal in Apache Struts
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.
- Published
- 20 Sep 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-44hv-jjx7-qfjg
- Sources
- NVDJSONOSV GHSA-44hv-jjx7-qfjgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:* |
= 2.3.20 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:* |
= 2.3.20.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:* |
= 2.3.20.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:* |
= 2.3.20.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:* |
= 2.3.21 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:* |
= 2.3.22 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:* |
= 2.3.23 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:* |
= 2.3.24 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:* |
= 2.3.24.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:* |
= 2.3.24.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:* |
= 2.3.24.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:* |
= 2.3.25 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:* |
= 2.3.26 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:* |
= 2.3.27 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:* |
= 2.3.28 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:* |
= 2.3.28.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:* |
= 2.3.29 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:* |
= 2.3.30 | |
| OSV | Maven | org.apache.struts:struts2-convention-plugin | >= 2.3.0, < 2.3.31 | 2.3.31 |
| OSV | Maven | org.apache.struts:struts2-convention-plugin | >= 2.5.0, < 2.5.5 | 2.5.5 |
References
- http://www.securityfocus.com/bid/93773 · Third Party Advisory, VDB Entry
- https://security.netapp.com/advisory/ntap-20180629-0003/ · WEB
- https://struts.apache.org/docs/s2-042.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-6795 · ADVISORY
- https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab · WEB
- https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14 · WEB
- https://github.com/apache/struts · PACKAGE
- https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 20 Sep 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 May 2022)