# CVE-2019-25782

Unauthenticated RCE in ThinkPHP 5.0.x via crafted POST allows command execution

- Page: https://www.vulneraibility.com/cve/CVE-2019-25782
- CVSS: 9.3
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.68% (percentile 53.3)
- CISA SSVC: exploitation poc, automatable yes, technical impact total (assessed 2026-11-18)
- Weakness: CWE-470
- Published: 2026-11-18

## Affected versions

- TopThink ThinkPHP: affected >= 5.0.0 and < 5.0.24

A version outside these ranges is not a statement that it is unaffected.

## Impact

Unauthenticated remote code execution: attackers can run arbitrary system commands on servers hosting vulnerable ThinkPHP endpoints.

## Action

Immediate action required

## Recommendation

Upgrade to ThinkPHP 5.0.24 immediately or apply vendor patch

## References

- [patch] https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003
- [exploit] https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce
- [exploit] https://www.exploit-db.com/exploits/46150
- [exploit] https://packetstorm.news/files/id/157218/
- [other] https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml
- [advisory] https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php
- [advisory] https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
