{"id":"CVE-2016-6795","aliases":["EUVD-2022-2295","GHSA-44hv-jjx7-qfjg"],"status":"published","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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.08219,"percentile":0.94922,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2017-09-20T17:00:00Z","modified":"2026-10-24T10:31:06Z","fixes":[{"ecosystem":"Maven","package":"org.apache.struts:struts2-convention-plugin","fixed_in":["2.3.31","2.5.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-convention-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.31"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-convention-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.5"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-convention-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.31"}]}],"versions":["2.3.1","2.3.1.1","2.3.1.2","2.3.12","2.3.14","2.3.14.1","2.3.14.2","2.3.14.3","2.3.15","2.3.15.1","2.3.15.2","2.3.15.3","2.3.16","2.3.16.1","2.3.16.2","2.3.16.3","2.3.20","2.3.20.1","2.3.20.3","2.3.24","2.3.24.1","2.3.24.3","2.3.28","2.3.28.1","2.3.29","2.3.3","2.3.30","2.3.4","2.3.4.1","2.3.7","2.3.8"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-convention-plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.5"}]}],"versions":["2.5","2.5.1","2.5.2"]}],"products":[{"vendor":"apache","product":"struts"},{"vendor":"apache software foundation","product":"apache struts"}],"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://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773","tags":["web"]},{"url":"https://github.com/advisories/GHSA-44hv-jjx7-qfjg"},{"url":"https://github.com/apache/struts","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20180629-0003","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-6795","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.","status":"published","published":"2017-09-20T17:00:00Z","modified":"2024-09-17T02:33:08.731Z","updated_at":"2026-11-02T14:33:34.815789Z"}],"euvd":[{"id":"EUVD-2022-2295","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.","status":"published","published":"2017-09-20T17:00:00Z","modified":"2024-09-17T02:33:08Z","updated_at":"2026-11-03T00:28:39.162217Z"}],"ghsa":[{"id":"GHSA-44hv-jjx7-qfjg","title":"Path Traversal in Apache Struts","description":"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.","status":"published","published":"2022-05-14T00:54:13Z","modified":"2024-01-04T20:43:48Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:29.411214Z"}],"nvd":[{"id":"CVE-2016-6795","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.","status":"published","published":"2017-09-20T17:29:00.277Z","modified":"2026-06-17T00:51:46.713Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-6795","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.","status":"published","published":"2017-09-20T17:29:00.277Z","modified":"2026-10-24T10:31:06.015397035Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:02.776224Z"},{"id":"GHSA-44hv-jjx7-qfjg","title":"Path Traversal in Apache Struts","description":"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.","status":"published","published":"2022-05-14T00:54:13Z","modified":"2024-02-19T05:33:06.499462Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:36.434231Z"}]}}
