{"id":"CVE-2025-50706","aliases":["EUVD-2025-23628","GHSA-mrwc-mvr8-9xq5"],"status":"published","title":"ThinkPHP Path Traversal Vulnerability","description":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","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":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.01192,"percentile":0.68392,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22","CWE-94"],"published":"2025-08-05T00:00:00Z","modified":"2026-10-28T02:31:00Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"topthink/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.1.41"}]}]},{"source":"osv","ecosystem":"Packagist","package":"topthink/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.1.41"}]}],"versions":["5.0","5.0-rc1","5.0-rc2","5.0-rc3","5.0-rc4","v5.0.1","v5.0.10","v5.0.11","v5.0.12","v5.0.13","v5.0.14","v5.0.15","v5.0.16","v5.0.17","v5.0.18","v5.0.19","v5.0.2","v5.0.20","v5.0.21","v5.0.22","v5.0.23","v5.0.24","v5.0.25","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","v5.1-beta.1","v5.1-rc.1","v5.1-rc.2","v5.1-rc.3","v5.1.0","v5.1.1","v5.1.10","v5.1.11","v5.1.12","v5.1.13","v5.1.14","v5.1.15","v5.1.16","v5.1.17","v5.1.18","v5.1.19","v5.1.2","v5.1.20","v5.1.21","v5.1.22","v5.1.23","v5.1.24","v5.1.25","v5.1.26","v5.1.27","v5.1.28","v5.1.29","v5.1.3","v5.1.30","v5.1.31","v5.1.32","v5.1.33","v5.1.34","v5.1.35","v5.1.36","v5.1.37","v5.1.37.1","v5.1.38","v5.1.38.1","v5.1.39","v5.1.4","v5.1.40","v5.1.41","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9"]}],"products":[{"vendor":"thinkphp","product":"thinkphp"}],"references":[{"url":"https://xinyisleep.github.io/2024-04-24/Thinkphp5.1%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-29981","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://xinyisleep.github.io/CVE-2025-50706.md","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50706","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mrwc-mvr8-9xq5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50706.json","tags":["advisory"]},{"url":"https://github.com/top-think/framework","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-50706","description":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","status":"published","published":"2025-08-05T00:00:00Z","modified":"2025-08-05T15:27:23.244Z","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":"adp"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:32:52.526476Z"}],"euvd":[{"id":"EUVD-2025-23628","description":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","status":"published","published":"2025-08-05T00:00:00Z","modified":"2025-08-05T15:27:23Z","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"}],"updated_at":"2026-11-02T20:32:01.201967Z"}],"ghsa":[{"id":"GHSA-mrwc-mvr8-9xq5","title":"ThinkPHP Path Traversal Vulnerability","description":"An issue in ThinkPHP Framework v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function.","status":"published","published":"2025-08-05T15:30:53Z","modified":"2025-08-05T18:18:40Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:52.85141Z"}],"nvd":[{"id":"CVE-2025-50706","description":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","status":"published","published":"2025-08-05T15:15:29.877Z","modified":"2026-06-17T09:35:19.657Z","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":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:11:22.319351Z"}],"osv":[{"id":"CVE-2025-50706","description":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","status":"published","published":"2025-08-05T00:00:00Z","modified":"2026-10-28T02:31:00.144311099Z","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"}],"updated_at":"2026-11-02T15:44:50.037003Z"},{"id":"GHSA-mrwc-mvr8-9xq5","title":"ThinkPHP Path Traversal Vulnerability","description":"An issue in ThinkPHP Framework v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function.","status":"published","published":"2025-08-05T15:30:53Z","modified":"2025-08-05T18:42:27.956716Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:52.170928Z"}]}}
