# CVE-2022-47945: ThinkPHP Framework vulnerable to remote code execution

Source: https://junglewise.ai/threats/cve-2022-47945-thinkphp-framework-vulnerable-to-remote-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-23  
License: CC BY 4.0 with a link back

CVE-2022-47945 · Severity: low · CVSS 3.1 · Published 2022-12-23

ThinkPHP Framework vulnerable to remote code execution

Technologies: [topthink/framework (Packagist)](https://junglewise.ai/threats/technologies/topthink-framework). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2022-47945 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-47945 being exploited in the wild.

**How severe is CVE-2022-47945?** Low severity, with a CVSS score of 3.1, published 23 December 2022.

**Which products and versions are affected?** topthink/framework (Packagist) ECOSYSTEM:introduced=0,fixed=6.0.14.

**Is there a fix for CVE-2022-47945?** Yes. topthink/framework (Packagist): upgrade to 6.0.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-47945?** Check whether you run topthink/framework (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- topthink/framework (Packagist): upgrade to 6.0.14 or later

  ```sh
  composer require topthink/framework:^6.0.14
  ```


## Affected products

- topthink/framework (Packagist) ECOSYSTEM:introduced=0,fixed=6.0.14

## Identifiers

- CVE-2022-47945
- GHSA-p4qr-vq2g-22wp

## Related threats

- [ThinkPHP Path Traversal Vulnerability](https://junglewise.ai/threats/cve-2025-50706-thinkphp-path-traversal-vulnerability)
- [ThinkPHP deserialization vulnerability](https://junglewise.ai/threats/cve-2024-44902-thinkphp-deserialization-vulnerability)
- [ThinkPHP Cross-Site Scripting Vulnerability](https://junglewise.ai/threats/cve-2024-34467-thinkphp-cross-site-scripting-vulnerability)
- [Thinkphp has a code logic error](https://junglewise.ai/threats/cve-2022-44289-thinkphp-has-a-code-logic-error)
- [ThinkPHP deserialization vulnerability](https://junglewise.ai/threats/cve-2022-38352-thinkphp-deserialization-vulnerability)
