{"id":"CVE-2016-6795","aliases":["GHSA-44hv-jjx7-qfjg"],"url":"https://o3.security/vulnerability/CVE-2016-6795","summary":"Path Traversal in Apache Struts","details":"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.","published":"2017-09-20T17:29:00.277Z","modified":"2026-07-08T05:48:59.949813974Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.08153,"percentile":0.94357,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-convention-plugin","fixedVersion":"2.3.31"},{"ecosystem":"Maven","name":"org.apache.struts:struts2-convention-plugin","fixedVersion":"2.5.5"}],"fix":{"url":"https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab","label":"apache/struts@8e67b91"},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93773"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180629-0003/"},{"type":"ADVISORY","url":"https://struts.apache.org/docs/s2-042.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6795"},{"type":"WEB","url":"https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab"},{"type":"WEB","url":"https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20180629-0003"},{"type":"WEB","url":"https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:48:59.949813974Z"}}