PHP: How to Check Whether the 18 Vulnerabilities Affect You

PHP: How to Check Whether the 18 Vulnerabilities Affect You

The PHP updates released on November 19, 2026 fix 18 vulnerabilities in the engine, sessions, PHP-FPM, CGI, and other components. The most serious, CVE-2026-129289, has a CVSS score of 9.2 and could allow remote code execution without authentication in certain PHP-FPM configurations that reuse connections.

The update is intended for those running PHP on one of the affected branches; supported versions earlier than these patches should be updated. To find out whether your server falls into the PHP-FPM case, check whether it uses that service and whether the web server maintains persistent connections to it. Aikido notes that standard nginx and Apache configurations are not affected through this specific vector, but that does not rule out the other vulnerabilities.

1. Identify which PHP version each service runs

Start by taking inventory of the servers and applications where PHP runs: include those exposed to the Internet and distinguish between PHP-FPM, CGI, and other execution methods. The fixes cover several language components, so checking just one application or a single server is not enough.

Check the version installed in the environment serving the application, not just on your computer or in an administration console. If you have separate deployments, containers, or multiple servers, verify each one. The php -v command shows the PHP version available to the command line; by itself, it does not prove that PHP-FPM or another web service is using the same installation.

2. Compare the version with the patch table

The supported branches cited by PHP have the following fixed versions. If the server is running an earlier version within one of them, plan to update to the version shown:

BranchFixed version
PHP 8.58.5.13
PHP 8.48.4.28
PHP 8.38.3.37
PHP 8.28.2.36

Install the package for the branch you use and follow your distribution's or provider's update procedure. Then check the version again in the service that runs the application. Do not stop at a partial update: PHP says that temporary measures cover some scenarios, but not all the vulnerabilities in this release.

3. Check whether PHP-FPM reuses connections

CVE-2026-129289 is a request smuggling issue: under certain conditions, unread HTTP data can be interpreted as another FastCGI request. According to Aikido, remote exploitation requires connections to be reused with PHP-FPM; Semgrep adds that it also matters whether an application route opens php://input without consuming it completely.

Review the effective configuration of the web server, the PHP-FPM backend, and any proxies involved. The vulnerability may affect certain nginx, Apache, HAProxy, and LSAPI configurations that reuse these connections. Do not assume your installation is safe just because it uses nginx or Apache: the relevant distinction is whether the specific configuration keeps the backend connection open for reuse.

4. If you cannot update yet, reduce exposure

For CVE-2026-129289, administrators who cannot install the patch immediately can disable persistent connections between the web server and PHP-FPM, so that each connection closes when a request finishes. Apply the change to the configuration your environment actually uses and check its effect; the specific names and controls depend on the existing configuration.

For the session serialization vulnerability CVE-2026-115560, PHP recommended disabling file upload progress tracking with this option:

session.upload_progress.enabled=0

Apply the setting wherever PHP is configured for the affected service. Then restart the PHP workers, as PHP recommends, so they pick up the change. This measure addresses that attack vector in session management; it does not replace the patch or cover the other vulnerabilities on its own.

5. Protect listeners and verify the result

Aikido recommends checking that PHP-FPM and LSAPI listeners are not exposed to untrusted networks. Review which networks can reach them and restrict access according to your service design. Do not expose these listeners directly as a substitute for a protected configuration behind the server that handles requests.

After updating or applying a mitigation, verify that the services involved have adopted the change and that the application still works. In an installation with multiple pools or servers, checking a single process does not confirm that the others are also fixed. Keep the mitigation only as a temporary risk reduction while you prepare to update.

6. Handle unsupported branches separately

The official versions in this release cover the supported branches listed in the table. PHP 8.1 and earlier are listed as unsupported in Infosecurity Magazine's coverage of the session flaw. For older installations, independent maintainer Ondřej Surý published fixed packages going back to PHP 5.6; Aikido also offers hardened container images with backported fixes for PHP 5.6, 7.0, 7.1, 7.2, 7.4, and 8.1.

If you depend on an unsupported version, confirm that the package or image you choose includes the relevant fixes and check who maintains it. Do not assume an old installation is protected simply because it still starts. When possible, plan to move to a supported branch.

Mistakes to avoid

Do not conclude that you are protected just because your server uses the standard nginx or Apache configuration: that observation applies to the PHP-FPM flaw that depends on reused connections, not to the other vulnerabilities that were fixed. Also, do not assume that a PHP version shown by the command line automatically identifies the version running a web application.

And do not present disabling upload progress or closing persistent connections as a definitive solution. These are temporary measures for specific scenarios, while the November updates fix 18 vulnerabilities across several components. For each deployment, the remaining checks are whether it is already running the fixed version for its branch and whether its PHP processes have adopted the change.

Sources: TecnoAndroid, Infosecurity Magazine, BleepingComputer, Semgrep