nginx and PHP Security Alert: What to Do for Your Store
· 4 min read
On November 18, 2026 a security update was released for nginx, the software that serves the pages of countless websites and online stores. On November 19, 2026, between 14:00 and 14:30 UTC (15:00 to 15:30 in Italy), one followed for PHP, the language that Magento, WooCommerce, PrestaShop and WordPress run on. Both fix serious flaws, some able to let an attacker run commands on the server. If your store runs on a server managed by you or your agency, it needs updating: here is what happened and what to ask whoever looks after it.
nginx: ten fixes and one case with a name
On November 18, 2026 nginx published versions 1.30.7 (stable) and 1.31.9 (mainline), with ten security fixes. On nginx's own site some are rated "major", others medium or minor.
The same day the research company Xint, which found five of these flaws, published an analysis called NGINX2Root. According to Xint, one of the flaws, tied to the HTTP/2 protocol, lets anyone, without a password, run commands on the server with the permissions of the nginx program. Combined with a flaw in the Linux operating system, it could reach the machine's maximum permissions (root). This is the vendor's account and I could not verify it independently: in the sources I read, the operating-system part has no public vulnerability code.
What the sources say about the risk:
- all official nginx versions from 1.9.5 to 1.31.8 are affected, and the main flaw needs HTTP/2 enabled;
- Xint says it left out the final steps needed to reproduce the full attack, and the sources I read report no attacks in progress.
PHP: a security update for all supported versions
On November 18, 2026 the PHP security team announced the next day's release, giving "critical" as the highest severity, with problems that require non-default or uncommon configurations. On November 19, 2026 8.5.13, 8.4.28, 8.3.37 and 8.2.36 were released, all marked as security updates.
The release notes list many fixes. For several they mention possible remote code execution, and there are others on PHP-FPM, sessions and PHAR files. The notes don't state the severity of each individual flaw.
Two clarifications:
- PHP 8.6.0 was also released on November 19, 2026: it is a new major version, not a security update, and should not be installed on a store without testing;
- PHP 8.1 and earlier no longer receive updates from the project, and PHP 8.2 is due to reach end of support on December 31, 2026. If your store is on one of these versions, a patch doesn't solve the problem.
What to do, in order
- Ask whoever looks after the server which nginx and PHP versions you use, and whether the updates of November 18 and 19, 2026 have been applied.
- nginx: update and then restart, reloading the configuration is not enough. If nginx comes from the operating system, the version number can stay the same, because vendors apply the fix without changing it: check your system's advisory, not just the version.
- PHP: move to the latest version of your series, after checking that the store and its modules are compatible and testing everything in a staging environment.
- If you can't update right away: Xint suggests turning off HTTP/2 as a temporary measure, which covers only two of the flaws. It should be assessed with a technician.
- After updating, check cart, payments, orders and emails.
- If you are on PHP 8.1 or earlier, or on 8.2, plan the move to a supported version now.
Why it matters for a store
A server that runs unwanted commands doesn't only put the site at risk: it exposes orders, customer data and payment connections. And the most dangerous moment is the window between a fix being published and being applied. For a similar case, read the critical PHP update of October 21, 2026.
Sources: NGINX2Root, nginx security advisories, PHP announcement of November 18, 2026 and PHP release notes.
Updates without the worry
Following alerts, testing fixes and applying them without stopping sales is recurring work. With the maintenance and support service I take care of it, on Magento, Adobe Commerce, Mage-OS, WooCommerce, PrestaShop and Shopify.
Want to know whether your server is up to date? Request a check and a free quote.