{"id":"CVE-2019-9082","kind":"vulnerability","aliases":["CVE-2019-9082"],"related":[],"title":"ThinkPHP ThinkPHP: ThinkPHP Remote Code Execution Vulnerability","description":"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.\n\nCISA required action: Apply updates per vendor instructions.","summary":"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.","severity":"critical","cvss":9.3,"epss":0.97419,"exploited":true,"exploited_at":"2021-11-03T00:00:00+00:00","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"],"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.\nUntil patched, block requests containing invokefunction or call_user_func_array at the web server or WAF.","status":"open","published_at":"2019-02-24T18:29:00+00:00","first_seen_at":"2026-10-23T19:11:53+00:00","triaged_at":"2026-10-23T20:29:36+00:00","updated_at":"2026-10-23T20:29:36+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-10-23T20:29:36Z","model":"claude-haiku-5-5","output":{"fix":"Apply the vendor's updates for ThinkPHP per vendor instructions; the sources do not name the fixed version.\nUntil patched, block requests containing invokefunction or call_user_func_array at the web server or WAF.","summary":"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.","category":"runtime","who_cares":["thinkphp","php","self-hosted","web-apps"],"confidence":0.6,"analyst_note":"Confirm affected and fixed ThinkPHP version ranges from the NVD entry and vendor advisory; the sources list affected and fixed as unknown.","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.\nunknown for affected version ranges: the sources do not list them.\nunknown for web server log search patterns beyond the exploit URL.","needs_analyst":true,"not_affected_if":["static-export","not-thinkphp"],"severity_if_unknown":"critical"},"cost_usd":0.000423,"input_tokens":2135,"output_tokens":419,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2019':9A,12A '-9082':10A,13A '0':89C '1':92C 'action':99C 'allow':72C 'app':25B 'app/invokefunction':82C 'append':60B 'appli':100C 'arbitrari':52B 'array':87C 'attack':49B 'call':84C 'cisa':97C 'code':5A,35B,75C 'command':55B,62B,96C 'contain':67C 'craft':41B 'cve':8A,11A 'entri':46B 'execut':6A,36B,76C 'exploit':16B 'flaw':37B 'follow':93C 'framework':30B 'func':86C 'function':83C 'host':21B 'index':80C 'instruct':104C 'oper':53B 'per':102C 'php':17B,28B 'point':47B 'public':45B,78C 'reach':38B 'remot':4A,34B,74C 'request':65B 'requir':98C 'run':51B 'runtim':18B 'self':20B 'self-host':19B 'server':58B 'system':54B,90C 'think':81C 'thinkphp':1A,2A,3A,14A,15A,22B,26B,66C 'unauthent':33B 'unspecifi':69C 'updat':101C 'url':42B 'user':85C 'var':88C,91C 'vendor':103C 'via':77C 'vulner':7A,70C 'web':24B,29B 'web-app':23B","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2019-02-24T18:29:00+00:00","kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2019-9082","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2019-9082","severity":null,"published_at":"2021-11-03T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:53+00:00","fetched_at":"2026-10-25T14:39:42+00:00","note":null},{"source":"epss","external_id":"CVE-2019-9082","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-9082","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:43+00:00","fetched_at":"2026-10-23T19:13:43+00:00","note":null},{"source":"nvd","external_id":"CVE-2019-9082","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-9082","severity":null,"published_at":"2019-02-24T18:29:00+00:00","modified_at":"2026-06-17T02:43:02+00:00","first_seen_at":"2026-10-23T19:35:23+00:00","fetched_at":"2026-10-23T19:35:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}