Forjed
Engineering 2 min read

PHP2Shell: our managed servers are patched

PHP has fixed two critical remote code execution vulnerabilities. Every Forjed-managed server, FrankenPHP included, is already running the patched releases.

Forjed Admins

On 21 October the PHP project shipped an emergency security release fixing two critical vulnerabilities, known together as PHP2Shell. Every server Forjed manages has been updated to the patched releases, including our FrankenPHP instances. If we host or manage your application, you do not need to do anything.

What happened

Both vulnerabilities allow remote code execution without authentication, and both are rated 9.2 under CVSS v4.0:

  • CVE-2026-109618: remote code execution through out-of-memory corruption.

  • CVE-2026-109619: remote code execution through stale global state.

Any PHP installation that handles web requests is affected, whichever way PHP is served: PHP-FPM, Apache with mod_php, CGI, LiteSpeed and FrankenPHP alike. Exploitation has been reported in the wild, so this was not one to leave for the next maintenance window.

The patched releases

Branch

Patched release

PHP 8.5

8.5.12

PHP 8.4

8.4.27

PHP 8.3

8.3.36

PHP 8.2

8.2.35

PHP 8.1 and older

End of life: no upstream release

If you run PHP yourself, update to the release for your branch now. If you are on an end-of-life branch, your distribution or package vendor may have backported packages, but the real fix is moving to a supported version, which we are happy to help with.

What we did

As soon as the patched releases were available, we updated every server we manage to the latest patch release for its PHP branch. That includes every FrankenPHP instance, not just the traditional PHP-FPM hosts.

Customers on Forjed-managed infrastructure are not exposed to these vulnerabilities and do not need to take any further action. If you have questions about your own setup, contact us.

Thank you

A fix like this only reaches production quickly because of a lot of people most users never hear about. Thank you to the researchers who found and responsibly disclosed these bugs, the PHP security team and release managers who turned the fixes around, and the packagers and maintainers who got patched builds into everyone's hands, including Ondřej Surý, whose packages also carried the fixes back to end-of-life branches, the distribution security teams, and the FrankenPHP and container image maintainers.

Still committed to PHP

PHP runs a large share of the web, and most of what we build runs on it: Laravel applications, our own products, and the client work that funds them. A serious vulnerability is a reason to support the ecosystem, not to leave it. We will keep building on PHP, keep contributing fixes upstream, and keep funding the open projects we depend on.