{"id":"CVE-2025-50706","aliases":["CVE-2025-50706","GHSA-mrwc-mvr8-9xq5"],"related":[],"kind":"vulnerability","state":"published","title":"ThinkPHP Path Traversal Vulnerability","summary":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function","source":"cvelist"},{"lang":"en","text":"An issue in ThinkPHP Framework v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema en thinkphp v.5.1 permite que un atacante remoto ejecute código arbitrario a través de la función routecheck","source":"nvd"}],"published":"2025-08-05T00:00:00.000Z","modified":"2026-06-17T09:35:19.657Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"}],"cwes":["CWE-22","CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.1.41"}],"ecosystem":"Packagist","package":"topthink/framework","purl":"pkg:composer/topthink/framework","source":"ghsa"},{"ranges":[{"status":"affected","version":"5.1.0"}],"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp:5.1.0:-:*:*:*:*:*:*","source":"nvd"}],"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","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://xinyisleep.github.io/CVE-2025-50706.md","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50706","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-08-05T15:26:53.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-50706","url":"https://www.cve.org/CVERecord?id=CVE-2025-50706","licence":"CVE Terms of Use","modified":"2025-08-05T15:27:23.244Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mrwc-mvr8-9xq5","url":"https://github.com/advisories/GHSA-mrwc-mvr8-9xq5","licence":"CC-BY-4.0","modified":"2025-08-05T18:42:27.956Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-50706","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50706","licence":"Public domain","modified":"2026-06-17T09:35:19.657Z"}],"updatedAt":"2026-11-25T22:59:02.062Z","epss":{"score":0.01192,"percentile":0.68859,"date":"2026-12-01T12:00:22.000Z"}}