Two critical vulnerabilities in PHP have triggered an urgent security response, forcing website administrators to review their systems and apply emergency patches.

The flaws, collectively referred to as PHP2Shell, could allow attackers to execute code on vulnerable servers without authentication, potentially putting websites, sensitive data, and connected systems at risk.

The incident has raised concerns across the web because PHP powers a huge number of websites, including those running WordPress, Drupal, and Joomla. With publicly available exploit details increasing the risk of attacks, administrators have been urged to update vulnerable installations as quickly as possible.

What Is PHP and Why Does It Matter?

PHP is a server-side programming language used to build and operate dynamic websites. It handles tasks such as processing login requests, displaying articles, managing user sessions, processing forms, and communicating with databases.

Although many internet users may never interact with PHP directly, the technology runs behind millions of websites and web applications. WordPress, Drupal, Joomla, and Magento are among the platforms that rely on PHP.

According to W3Techs, PHP powers approximately three-quarters of websites whose server-side programming language can be identified. This widespread use means a security flaw in PHP can have consequences far beyond a single website or application.

What Are the Recent PHP Vulnerabilities?

The two vulnerabilities are tracked as CVE-2026-109618 and CVE-2026-109619. Both received a CVSS v4.0 severity score of 9.2 out of 10, placing them in the critical category.

READ
ConnectWise Disables Seven Application Identities After Microsoft 365 Breach

Collectively known as PHP2Shell, the vulnerabilities affect the PHP runtime itself rather than a particular WordPress plugin or website theme. Under certain conditions, attackers can exploit the flaws to execute code remotely without logging in.

Remote code execution is especially dangerous because it can give an attacker the ability to run commands on a vulnerable server. Depending on the server’s permissions and configuration, this could lead to data theft, website defacement, malware installation, or further compromise of connected systems.

The vulnerabilities have also raised concerns about sensitive information held in PHP worker memory, including credentials and authentication tokens. The potential impact depends on the vulnerable configuration and the level of access an attacker can obtain.

Why Did Websites Go Offline?

The vulnerabilities prompted urgent action because of the potential consequences of leaving exposed systems unpatched. When a critical security flaw becomes publicly known and exploit techniques are available, attackers can quickly begin searching for vulnerable servers.

Some organizations may choose to temporarily disable exposed applications while security teams investigate the risk or prepare updates. Taking a website offline can be disruptive, but it may be preferable to leaving a vulnerable service accessible to attackers.

Reports surrounding the incident have drawn attention to precautionary shutdowns and emergency patching. However, the scale of any resulting outages should not be exaggerated without reliable confirmation. There is no basis for concluding that most websites worldwide went offline because of these vulnerabilities.

READ
PHP Releases Emergency Patches for Two Critical Flaws That Could Let Hackers Take Over Servers

The broader concern is that PHP is deeply integrated into web hosting environments, meaning a single vulnerability can require coordinated updates across many servers and applications.

Which PHP Versions Are Affected?

The vulnerabilities have been associated with a wide range of PHP installations, including older versions. The PHP development team has released patched versions for several maintained release branches.

The patched versions identified in the security announcement are:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

Administrators should confirm the applicable fixed release against the official PHP security advisory before upgrading.

Older PHP versions require additional attention. PHP 8.1 and earlier no longer receive routine security updates directly from the PHP project, although some operating system vendors maintain their own security packages. A version number alone may therefore not tell the whole story; administrators should check whether their distribution has backported the relevant fix.

How to Protect Your Website From the PHP2Shell Vulnerabilities

The recommended solution is to install the appropriate security update for the PHP runtime serving your website. Updating WordPress, themes, and plugins is good security practice, but those updates alone will not fix a vulnerability in PHP itself.

Website owners should take the following steps:

1. Check your PHP version. If you use WordPress, you can usually find the PHP version in the dashboard under Tools and Site Health. Your hosting control panel may also display it.

2. Contact your hosting provider. If your website uses shared hosting and you cannot manage PHP directly, ask your provider whether the relevant security patches have been installed.

READ
GhostAction Attack Targets 30,000 GitHub Repositories in New Credential Theft Wave

3. Upgrade to a fixed release. Server administrators should update the appropriate PHP packages or runtime image. Depending on the environment, restarting PHP-FPM, Apache, or other long-running PHP workers may also be necessary to ensure the patched runtime is active.

4. Update your website software. Keep WordPress, Drupal, Joomla, plugins, themes, and other applications updated. These measures address other security risks, even though they do not replace the PHP patch.

5. Investigate suspicious activity. Review server logs for unusual requests, unexplained PHP worker crashes, unexpected error spikes, or other suspicious behavior. These signs do not necessarily indicate an attack, but they may warrant further investigation.

6. Replace unsupported PHP versions. If your website depends on an outdated release, plan to move to a supported version. If an immediate upgrade is impossible, check whether your operating system vendor provides a security fix for your specific package.

What If You Cannot Update PHP Immediately?

Administrators who cannot patch immediately should contact their hosting provider or system administrator to determine whether the vulnerable service can be isolated or temporarily disabled.

Configuration changes may reduce exposure to particular attack paths, but they should not be treated as a complete solution. The safest approach is to apply the official patch and verify that the updated runtime is actually being used by the affected applications.

For websites handling customer information, authentication credentials, or financial transactions, delaying remediation can increase the potential consequences of a successful attack.

READ
Burger King Japan Discloses Data Breach Affecting 11.18 Million Customers
10 Ways to Spot a Phishing Website in 2023

The recent PHP2Shell vulnerabilities show how a flaw in widely deployed software can create security challenges across the web. Although the vulnerabilities do not mean every PHP-powered website has been compromised, unpatched systems may face serious risks.


Buy ExpressVPN with PayPal or Credit Card

Website owners should verify their PHP versions, apply the relevant security updates, and investigate suspicious activity where necessary. For administrators running unsupported software, moving to a maintained release should be a priority.

For the latest patch information, consult the official PHP website at https://www.php.net/.

Advertisement