CVE-2022-47945

published 23 Dec 2022 · updated 15 Apr 2025

ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled…

10.0CriticalCVSS 9.8EPSS 30%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 30%. No fixed version is recorded.

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.

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-47945 severity on Zeptric[![CVE-2022-47945](https://zeptric.io/badge/cve/CVE-2022-47945.svg)](https://zeptric.io/cve/CVE-2022-47945)