{"id":"CVE-2023-50164","aliases":["EUVD-2023-3074","GHSA-2j39-qcjm-428w"],"status":"published","title":"Apache Struts: File upload component had a directory traversal vulnerability","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/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-09","score":0.80819,"percentile":0.99631,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-552"],"published":"2023-12-07T08:49:19Z","modified":"2026-10-28T02:30:36Z","exploits":[{"source":"pocgithub","id":"AsfandAliMemon25/CVE-2023-50164Analysis-","title":"AsfandAliMemon25/CVE-2023-50164Analysis-","date":"2024-04-16","url":"https://github.com/AsfandAliMemon25/CVE-2023-50164Analysis-"},{"source":"pocgithub","id":"MKIRAHMET/CVE-2023-50164-HTB-strutted","title":"MKIRAHMET/CVE-2023-50164-HTB-strutted","date":"2025-09-04","url":"https://github.com/MKIRAHMET/CVE-2023-50164-HTB-strutted"},{"source":"pocgithub","id":"NikitaPark/CVE-2023-50164-PoC","title":"NikitaPark/CVE-2023-50164-PoC","date":"2024-10-06","url":"https://github.com/NikitaPark/CVE-2023-50164-PoC"},{"source":"pocgithub","id":"Pixel-DefaultBR/CVE-2023-50164","title":"Pixel-DefaultBR/CVE-2023-50164","date":"2025-03-05","url":"https://github.com/Pixel-DefaultBR/CVE-2023-50164"},{"source":"pocgithub","id":"Thirukrishnan/CVE-2023-50164-Apache-Struts-RCE","title":"Thirukrishnan/CVE-2023-50164-Apache-Struts-RCE","date":"2023-12-20","url":"https://github.com/Thirukrishnan/CVE-2023-50164-Apache-Struts-RCE"},{"source":"pocgithub","id":"Trackflaw/CVE-2023-50164-ApacheStruts2-Docker","title":"Trackflaw/CVE-2023-50164-ApacheStruts2-Docker","date":"2023-12-20","url":"https://github.com/Trackflaw/CVE-2023-50164-ApacheStruts2-Docker"},{"source":"pocgithub","id":"Trackflaw/CVE-2024-10924-Wordpress-Docker","title":"Trackflaw/CVE-2024-10924-Wordpress-Docker","date":"2024-11-20","url":"https://github.com/Trackflaw/CVE-2024-10924-Wordpress-Docker"},{"source":"pocgithub","id":"aaronm-sysdig/cve-2023-50164","title":"aaronm-sysdig/cve-2023-50164","date":"2023-12-22","url":"https://github.com/aaronm-sysdig/cve-2023-50164"},{"source":"pocgithub","id":"bcdannyboy/CVE-2023-50164","title":"bcdannyboy/CVE-2023-50164","date":"2023-12-15","url":"https://github.com/bcdannyboy/CVE-2023-50164"},{"source":"pocgithub","id":"dwisiswant0/cve-2023-50164-poc","title":"dwisiswant0/cve-2023-50164-poc","date":"2023-12-17","url":"https://github.com/dwisiswant0/cve-2023-50164-poc"},{"source":"pocgithub","id":"helsecert/cve-2023-50164","title":"helsecert/cve-2023-50164","date":"2023-12-18","url":"https://github.com/helsecert/cve-2023-50164"},{"source":"pocgithub","id":"hybinn/CVE-2023-50164","title":"hybinn/CVE-2023-50164","date":"2025-10-09","url":"https://github.com/hybinn/CVE-2023-50164"},{"source":"pocgithub","id":"jakabakos/CVE-2023-50164-Apache-Struts-RCE","title":"jakabakos/CVE-2023-50164-Apache-Struts-RCE","date":"2023-12-13","url":"https://github.com/jakabakos/CVE-2023-50164-Apache-Struts-RCE"},{"source":"pocgithub","id":"snyk-labs/CVE-2023-50164-POC","title":"snyk-labs/CVE-2023-50164-POC","date":"2023-12-30","url":"https://github.com/snyk-labs/CVE-2023-50164-POC"},{"source":"pocgithub","id":"sunnyvale-it/CVE-2023-50164-PoC","title":"sunnyvale-it/CVE-2023-50164-PoC","date":"2024-01-12","url":"https://github.com/sunnyvale-it/CVE-2023-50164-PoC"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.struts:struts2-core","fixed_in":["6.3.0.2","2.5.33"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.3.0.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.5.33"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.5.33"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3","2.2.3.1","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.31","2.3.32","2.3.33","2.3.34","2.3.35","2.3.36","2.3.37","2.3.4","2.3.4.1","2.3.7","2.3.8","2.5","2.5-BETA1","2.5-BETA2","2.5-BETA3","2.5.1","2.5.10","2.5.10.1","2.5.12","2.5.13","2.5.14","2.5.14.1","2.5.16","2.5.17","2.5.18","2.5.2","2.5.20","2.5.22","2.5.25","2.5.26","2.5.27","2.5.28","2.5.28.1","2.5.28.2","2.5.28.3","2.5.29","2.5.30","2.5.31","2.5.32","2.5.5","2.5.8"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.3.0.2"}]}],"versions":["6.0.0","6.0.3","6.1.1","6.1.2","6.1.2.1","6.1.2.2","6.2.0","6.3.0","6.3.0.1"]}],"products":[{"vendor":"apache","product":"struts"},{"vendor":"apache software foundation","product":"apache struts"}],"references":[{"url":"https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj","tags":["vendor-advisory","mailing-list","x_transferred","Mailing List","Patch","advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2023/12/07/1","tags":["x_transferred","Mailing List","web"]},{"url":"http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html","tags":["x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://security.netapp.com/advisory/ntap-20231214-0010/","tags":["x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50164","tags":["advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/07/1","tags":["web"]},{"url":"https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163","tags":["web"]},{"url":"https://github.com/apache/struts/commit/d8c69691ef1d15e76a5f4fcf33039316da2340b6","tags":["web"]},{"url":"https://cwiki.apache.org/confluence/display/WW/S2-066","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20231214-0010","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2j39-qcjm-428w"},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50164.json","tags":["advisory"]},{"url":"https://github.com/apache/struts","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-50164","title":"Apache Struts: File upload component had a directory traversal vulnerability","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","status":"published","published":"2023-12-07T08:49:19.853Z","modified":"2025-03-14T03:55:16.463Z","cwes":["CWE-552"],"updated_at":"2026-11-02T14:35:34.923818Z"}],"euvd":[{"id":"EUVD-2023-3074","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","status":"published","published":"2023-12-07T08:49:19Z","modified":"2025-03-14T03:55:16Z","updated_at":"2026-11-02T20:53:03.669796Z"}],"ghsa":[{"id":"GHSA-2j39-qcjm-428w","title":"Apache Struts vulnerable to path traversal","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","status":"published","published":"2023-12-07T09:30:45Z","modified":"2025-02-13T19:28:04Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:38:31.416868Z"}],"nvd":[{"id":"CVE-2023-50164","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","status":"published","published":"2023-12-07T09:15:07.06Z","modified":"2026-06-17T06:39:13.613Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:08:54.010507Z"}],"osv":[{"id":"GHSA-2j39-qcjm-428w","title":"Apache Struts vulnerable to path traversal","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","status":"published","published":"2023-12-07T09:30:45Z","modified":"2025-02-13T19:37:36.650649Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"CVE-2023-50164","title":"Apache Struts: File upload component had a directory traversal vulnerability","description":"An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","status":"published","published":"2023-12-07T08:49:19.853Z","modified":"2026-10-28T02:30:36.648188752Z","cwes":["CWE-552"],"updated_at":"2026-11-02T15:44:34.72355Z"}]}}
