Every CVE Search/ Get API key

CVE-2016-6795

Path Traversal in Apache Struts

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

8.22%Up 5.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2016-6795
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-6795
Updated
2026-11-02
EUVDEUVD-2022-2295 No score

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.

Record
EUVD-2022-2295
Updated
2026-11-03
GitHub AdvisoriesGHSA-44hv-jjx7-qfjg 9.8

Path Traversal in Apache Struts

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. This vulnerability is only exploitable when using the Struts 2 Convention plugin in conjunction with Apache Struts.

Record
GHSA-44hv-jjx7-qfjg
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2016-6795
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-44hv-jjx7-qfjg 9.8

Path Traversal in Apache Struts

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. This vulnerability is only exploitable when using the Struts 2 Convention plugin in conjunction with Apache Struts.

Record
GHSA-44hv-jjx7-qfjg
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.struts:struts2-convention-plugin
Maven
2.3.0 up to 2.3.31
2.3.31
org.apache.struts:struts2-convention-plugin
Maven
2.5.0 up to 2.5.5
2.5.5
org.apache.struts:struts2-convention-plugin
Maven
2.3.0 up to 2.3.31, plus listed versions
2.3.12.3.1.12.3.1.22.3.122.3.14
Show 26 moreShow less
2.3.14.12.3.14.22.3.14.32.3.152.3.15.12.3.15.22.3.15.32.3.162.3.16.12.3.16.22.3.16.32.3.202.3.20.12.3.20.32.3.242.3.24.12.3.24.32.3.282.3.28.12.3.292.3.32.3.302.3.42.3.4.12.3.72.3.8
2.3.31
org.apache.struts:struts2-convention-plugin
Maven
2.5.0 up to 2.5.5, plus listed versions
2.52.5.12.5.2
2.5.5

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-6795 is a critical vulnerability (CVSS 9.8) in Apache Struts, published September 20, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.22%, the 94th percentile. Fixed in org.apache.struts:struts2-convention-plugin 2.3.31.

References

MoveEnter Open