---
id: "CVE-2019-9082"
kind: "vulnerability"
aliases: ["CVE-2019-9082"]
title: "ThinkPHP ThinkPHP: ThinkPHP Remote Code Execution Vulnerability"
severity: "critical"
cvss: 9.3
epss: 0.97419
exploited: true
status: "open"
category: "runtime"
products: [{"name": "ThinkPHP ThinkPHP", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "php", "runtime", "self-hosted", "thinkphp", "web-apps"]
not_affected_if: ["not-thinkphp", "static-export"]
published_at: "2019-02-24T18:29:00+00:00"
first_seen_at: "2026-10-23T19:11:53+00:00"
updated_at: "2026-10-23T20:29:36+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2019-9082", "first_seen_at": "2026-10-23T19:11:53+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-9082", "first_seen_at": "2026-10-23T19:13:43+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-9082", "first_seen_at": "2026-10-23T19:35:23+00:00"}]
---

# ThinkPHP ThinkPHP: ThinkPHP Remote Code Execution Vulnerability

ThinkPHP, a PHP web framework, has an unauthenticated remote code execution flaw reached through a crafted URL on the public entry point. An attacker can run arbitrary operating system commands on the server by appending a command to that request.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:ThinkPHP ThinkPHP affected ? fixed ?

## How to check

Request public/?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=id and look for command output in the response.

## Fix

Apply the vendor's updates for ThinkPHP per vendor instructions; the sources do not name the fixed version.
Until patched, block requests containing invokefunction or call_user_func_array at the web server or WAF.

## Timeline

- 2026-10-23T19:11:53+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2019-9082
- 2026-10-23T19:13:43+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2019-9082
- 2026-10-23T19:35:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2019-9082

## From the sources

ThinkPHP contains an unspecified vulnerability that allows for remote code execution via public//?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]= followed by the command.

CISA required action: Apply updates per vendor instructions.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
