A major PHP security vulnerability, dubbed “php2shell”, was disclosed today, which can allow an attacker to execute Remote Code Execution (RCE) by exploiting vulnerable versions of PHP—pretty much any version released in the last twenty years leading up until today.
If you’re running an unpatched version of PHP 8.2 or newer, stop reading now and upgrade immediately; if you’re running any version of PHP 8.2 or higher, the latest release should be available via your package manager (apt, yum, etc.).