{"id":"CVE-2022-47945","aliases":["GHSA-p4qr-vq2g-22wp"],"url":"https://o3.security/vulnerability/CVE-2022-47945","summary":"ThinkPHP Framework vulnerable to remote code execution","details":"ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including pearcmd.php.","published":"2022-12-23T00:00:00Z","modified":"2026-08-12T03:51:12.558295265Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.28254,"percentile":0.97985,"asOf":"2026-09-08"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"topthink/framework","fixedVersion":"6.0.14"}],"fix":{"url":"https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099","label":"top-think/framework@c4acb8b"},"references":[{"type":"WEB","url":"https://github.com/top-think/framework/compare/v6.0.13...v6.0.14"},{"type":"WEB","url":"https://tttang.com/archive/1865/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47945.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47945"},{"type":"FIX","url":"https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:12.558295265Z"}}