Skip to content
RCE Write-up Advanced

PHP2Shell Unauthenticated RCE on PHP: CVE-2026-109618 & CVE-2026-109619

Two critical vulnerabilities in PHP allow an unauthenticated remote attacker to achieve remote code execution without user interaction. The flaws affect all PHP installations that serve web requests, with the highest risk for mod_php.

Team NetSPI Follow

Published on netspi.com

Executive / Critical Vulnerability

Team NetSPI, on netspi.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

Internet-facing PHP installation; no authentication required

The fix

The vulnerabilities were fixed in PHP versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35; updating is the only complete remediation.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

PHP is a programming language used to build many websites. These bugs let anyone on the internet run their own commands on a vulnerable web server without needing a password. That means they could take control of the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Team NetSPI

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.