CVE-2025-50706

An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function

Critical · published August 5, 2025

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

🚨 A single misstep in ThinkPHP's routecheck function gives attackers the keys to your castle! 🔥 Think of it like a pizza delivery service that blindly follows any delivery request without checking the address. If a rogue customer calls in a fake order, they could get a piping hot pizza delivered straight to their hidden lair! This vulnerability is absolutely devastating; a remote attacker could execute arbitrary code on your server, completely undermining your application’s security. Imagine them rummaging through your data, changing configurations, or even hijacking your entire infrastructure!

Put simply

Think of it like a pizza delivery service that blindly follows any delivery request without checking the address. If a rogue customer calls in a fake order, they could get a piping hot pizza delivered straight to their hidden lair! CVE-2025-50706 arises from an issue in ThinkPHP v5.1, making it possible for attackers to exploit the routecheck function to execute arbitrary code remotely. This flaw arises due to insufficient validation on incoming requests.

What to do

This vulnerability is absolutely devastating; a remote attacker could execute arbitrary code on your server, completely undermining your application’s security. Imagine them rummaging through your data, changing configurations, or even hijacking your entire infrastructure! Patch your ThinkPHP installation immediately to the latest version. Double-check your code for any other insecure function usages and consider implementing additional security measures, such as input validation and monitoring. Don’t wait—address this vulnerability now! You've got this! Apply those patches and lock down your application like the security hero you are! 🛡️

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 thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
    cvelistv5