Autumn 2026 has been busy for anyone running PHP sites. Within a few weeks, the language team released two rounds of security updates, one of them as an emergency. Since PHP powers WordPress and a large share of small business websites, these announcements directly concern companies in Nice, Cannes or Monaco, even those that have never heard of PHP.

What happened

On 21 October 2026, PHP fixed two flaws rated 9.2 out of 10, CVE-2026-109618 and CVE-2026-109619, nicknamed PHP2Shell. They allow an unauthenticated attacker to run their own code on the server. According to the official advisory, every installation that serves web pages is affected: PHP-FPM, Apache with mod_php, php-cgi, LiteSpeed or FrankenPHP. The risk is rated highest with mod_php, where the attack can succeed before the site's own code even runs. The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

Official PHP advisories call for immediate updates for these vulnerabilities. To assess your exposure, identify the branch, version and patches actually applied by your host. An attack timeline affecting other systems does not prove that an individual site was compromised.

On 19 November, a second round of fixes arrived with versions 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Several of these flaws are rated critical, but the PHP team states that they require non-default or uncommon configurations. Some of them nevertheless cover cases the October fix had missed.

Possible impact on a small business

Remote code execution gives the attacker the same rights on the server as your website. They can read the database and CRM customer files, inject spam pages or a malicious script, create a hidden administrator account or use the server for further attacks. If personal data is exposed, the incident may count as a personal data breach under the GDPR, with the notification duties that come with it.

One key point: a fully up-to-date WordPress site with flawless plugins was still vulnerable if the server's PHP version had not been patched.

What to do now

  • Find out your PHP version. In WordPress, it appears under Tools, Site Health, Info tab, Server section. Your host also shows it in the customer area.
  • Ask your host whether the 21 October and 19 November fixes have been applied. Some Linux distributions include the fixes without changing the main version number: only the host can confirm the real status.
  • Have the PHP processes restarted after the update, otherwise the old code may keep running.
  • Look for signs of intrusion since 21 October: unknown administrator accounts, recently modified files, suspicious scheduled tasks.
  • Plan your move away from PHP 8.2, which will receive no fixes at all after 31 December 2026. Versions 8.1 and older already get no official releases.

The PHP advisory suggests temporary settings to reduce exposure, but it is clear: they do not make an installation safe, and only updating truly fixes the problem.

Should you still develop in PHP?

Yes, and these episodes do not fundamentally change the picture. No runtime is free of serious flaws. What matters is how they are handled. Here, the PHP team gave notice the day before, released fixes for all maintained versions at the same time and documented interim measures.

Security depends on PHP, the CMS, plugins and configuration together. Statistics about discovered vulnerabilities do not measure your site’s individual risk. Maintain every component, remove unnecessary access and verify patches rather than treating language and plugin security as competing concerns.

PHP therefore remains a safe choice for a brochure site, an online shop or a custom CRM, on three conditions: use a version that is still maintained, apply updates promptly, and take care of the application code, with prepared statements and regularly checked dependencies. It is less a question of language than a question of maintenance.

Sources and guidance

For your project : NIKAIA.NET services.