{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-6795","id":"CVE-2016-6795","title":"Path Traversal in Apache Struts","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.","descriptionLong":"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":"2017-09-20T17:00:00.000Z","updated":"2026-10-24T10:31:06.015397035Z","reserved":"2016-08-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Apache Software Foundation Apache Struts"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Struts","defaultStatus":null,"versions":[{"status":"affected","version":"2.3.x before 2.3.31"},{"status":"affected","version":"2.5.x before 2.5.5"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-convention-plugin","purl":"pkg:maven/org.apache.struts/struts2-convention-plugin","ranges":[">=2.3.0 <2.3.31",">=2.5.0 <2.5.5"],"fixed":["2.3.31","2.5.5"],"advisory":"GHSA-44hv-jjx7-qfjg"}],"cwes":["CWE-22"],"aliases":["GHSA-44hv-jjx7-qfjg"],"references":[{"url":"http://www.securityfocus.com/bid/93773","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://struts.apache.org/docs/s2-042.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20180629-0003/","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6795","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab","tags":["web"]},{"url":"https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14","tags":["web"]},{"url":"https://github.com/apache/struts","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20180629-0003","tags":["web"]},{"url":"https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.08219,"epssPercentile":0.94995,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-6795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6795","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-6795","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-44hv-jjx7-qfjg","ok":true,"note":"GHSA-44hv-jjx7-qfjg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-6795","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["struts"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}