CVE-2016-6795 Apache Struts
| Affected software | Apache Struts |
|---|---|
| Severity | 9.8 Critical CVSS 3.0 2 scores |
| Fixed in | 2.3.31, 2.5.5 |
| Weakness | Path traversal (CWE-22) |
| Published | 20 Sep 2017 |
| Updated | 17 Jun 2026 |
Description
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 9 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 8.2% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Path traversal
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal. |
How to mitigate CVE-2016-6795
Upgrade Apache Struts to a release that fixes it: 2.3.31 or 2.5.5. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.0 | 9.8 | CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.struts:struts2-convention-plugin |
2.3.0 | 2.3.31 |
unbounded |
org.apache.struts:struts2-convention-plugin |
2.5.0 | 2.5.5 |
unbounded |
Products and versions
2 products, 20 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | struts | generic | 2.3.20 · 2.3.20.1 · 2.3.20.2 · 2.3.20.3 · 2.3.21 · 2.3.22 · 2.3.23 · 2.3.24 · 2.3.24.1 · 2.3.24.2 · 2.3.24.3 · 2.3.25 · 2.3.26 · 2.3.27 · 2.3.28 · 2.3.28.1 · 2.3.29 · 2.3.30 |
| osv | org.apache.struts | struts2-convention-plugin | generic | ≥ 2.3.0 and < 2.3.31 · ≥ 2.5.0 and < 2.5.5 |
References
Timeline
Timeline
| Published | 2017-09-20 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |