CVE-2025-50707

An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component

Critical · published August 5, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
63.4
In the wild
Unconfirmed
What it is

🚨 A single call to index.php can let attackers execute arbitrary code! This is a critical vulnerability in thinkphp3 v.3.2.5 that could spell disaster if left unpatched! 🔥 Think of it like a restaurant where the chef blindly follows any order without checking for allergies. An attacker could essentially place their own dangerous ‘order’ and the system would serve it up without question! This vulnerability allows an attacker to remotely execute any code they desire on your server, leading to catastrophic outcomes like data breaches, loss of control over your system, or even total server takeover. The implications are absolutely devastating, potentially compromising sensitive information and disrupting your entire operation.

Put simply

Think of it like a restaurant where the chef blindly follows any order without checking for allergies. An attacker could essentially place their own dangerous ‘order’ and the system would serve it up without question! In thinkphp3 v.3.2.5, a flaw in the handling of requests via index.php allows remote code execution, where an attacker can insert malicious commands that the server will execute as if they were legitimate. This means a simple, crafted request can take down your application and put your data at risk.

What to do

This vulnerability allows an attacker to remotely execute any code they desire on your server, leading to catastrophic outcomes like data breaches, loss of control over your system, or even total server takeover. The implications are absolutely devastating, potentially compromising sensitive information and disrupting your entire operation. To mitigate this risk, urgently upgrade to the latest version of thinkphp3. Ensure you have robust input validation in place and monitor your application for any suspicious activity. Acting quickly can save you from significant fallout! You've got this! By taking swift action, you can secure your environment and keep those attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01029 · 63.4th percentile
Published
2025-08-05T00:00Z
EPSS history
Timeline
  • 05 AUG 00:00Z
    An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
    cvelistv5