PHP, FortiGate, UniFi: the urgent patches of October 2026

Six critical updates in one week: PHP, FortiOS, UniFi, nginx, Node.js and GitLab. Which versions to install, what to close meanwhile and why they came together.

A firewall with an update arrow inside a hexagon, the label OCT 2026, a postponed update crossed out in red and an applied one checked in green, and the title Three patches in one week

In short

In the week of October 20-24, 2026, PHP fixed two unauthenticated code execution vulnerabilities, Fortinet released critical updates for FortiOS, FortiManager and FortiAnalyzer, and Ubiquiti continued its series of UniFi bulletins. The common cause: testing with AI models. The fix: PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35; FortiOS 8.0.2, 7.6.8, 7.4.13 or 7.2.14; UniFi at the versions in the current bulletin. Until patched, take admin interfaces off the internet.

Wednesday, the PHP security announcement. Thursday morning, an email from Fortinet with the subject "Immediate action required" and no technical details at all. A week earlier, a Ubiquiti bulletin. If you manage the servers of a small company, you probably received all three and wondered whether it was a coincidence.

It isn't. The three updates have the same cause: vendors now test their code with the most advanced AI models and find as many vulnerabilities in a few months as they used to find in years. The same models are available to attackers, so the window between a patch being published and the first working exploit has shrunk to a few days. Fortinet says so directly in its announcement, and with PHP, exploitation attempts began four days before publication.

This article tells you exactly which versions to install for each product, what to do in the hours before your maintenance window, and how to check that you're done. All versions are taken from the official announcements, checked on October 22, 2026, with links in the text.

Update of October 24: readers pointed out that the same week also brought critical updates for nginx, Node.js and GitLab. We added them to the table and to a separate section below.

Why they all come at once

Since April 2026, Anthropic, OpenAI and Google have been running programs in which their models search for vulnerabilities in widely used software, together with the vendors. Fortinet writes that it has integrated these models into its own testing process and explicitly thanks the three companies for the collaboration. The PHP vulnerabilities were found by Wiz, Calif and OpenAI with Gemini 4 Argon and GPT-5.6 Sol, according to Wiz's analysis.

The practical consequence for you is not the volume but the speed. Fortinet decided to publish the details only on November 10, because an AI model can rebuild the exploit from the difference between two versions in a few hours. With PHP, the details leaked a day before the deadline, and Amazon saw exploitation attempts from October 17. The old rule, "we apply patches in next month's maintenance window," no longer holds.

Product Vulnerability Severity Exploitation Fixed versions
PHP CVE-2026-109618, CVE-2026-109619 (unauthenticated RCE) CVSS 9.2 confirmed in the wild 8.5.12, 8.4.27, 8.3.36, 8.2.35
FortiOS not published until November 10 critical and high not confirmed 8.0.2, 7.6.8, 7.4.13, 7.2.14
FortiManager, FortiAnalyzer not published until November 10 critical and high not confirmed 8.0.2, 7.6.8, 7.4.12, 7.2.13
FortiMail not published until November 10 critical and high not confirmed 8.0.2, 7.6.7, 7.4.9
PAN-OS CVE-2026-0322 (RCE in the management interface) CVSS 8.6 confirmed, limited 12.2.4, 11.2.16 and hotfixes on each branch
UniFi bulletins 067, 069, 070 high and critical partial, bulletin 064 the versions in each bulletin
nginx 5 CVEs, 3 with possible RCE in certain configurations CVSS 9.2 (F5), medium (nginx) not confirmed 1.30.6, 1.31.7
Node.js CVE-2026-111497 "Node2Shell" (RCE via Brotli) and 9 others high public exploit, not confirmed 26.12.1, 24.22.1, 22.23.4
GitLab self-managed CVE-2026-110264 (unauthenticated RCE) CVSS 10.0 not confirmed 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13

PHP: two vulnerabilities that affect any site

The two vulnerabilities, which the researchers named "php2shell," allow code execution on the server from a single HTTP request, without an account and regardless of the application on top. WordPress, Drupal, Joomla, an in-house CRM: all are affected the same way, because the problem is in the PHP engine, not in the application. The PHP announcement says that any installation serving web requests is exposed: PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, LiteSpeed. The highest risk is with mod_php, where the exploit runs before any line of the application.

All versions from the last decade are affected. Fixed versions exist for 8.2, 8.3, 8.4 and 8.5. For 7.4, 8.0 and 8.1, the PHP team published only source patches, with no packages. For 7.3 and older there is nothing; CISA, the US cybersecurity agency, recommends taking these systems off the internet until they are migrated.

How to apply the patch on an Ubuntu or Debian server

The distributions received the patches before publication, so the packages are in the usual repositories.

  1. Check which version actually serves the requests, not just what php -v answers in the terminal, because they can differ:
php-fpm8.3 -v
apt list --installed 2>/dev/null | grep -E '^php|^libapache2-mod-php'
  1. Update and restart the processes:
sudo apt update && sudo apt upgrade
sudo systemctl restart php8.3-fpm apache2
  1. Check from the outside. A temporary file v.php containing <?php echo PHP_VERSION; shows the version actually served; then delete the file.

For Docker, rebuild the image from php:8.3-fpm or equivalent and restart the container. For cPanel, Plesk or shared hosting, you change the version from the panel or the provider changes it; ask them in writing whether they applied 8.3.36 or the equivalent. WordPress does not need a separate update.

What to do until you apply the patch

PHP publishes a setting that blocks the confirmed attack path for CVE-2026-109619. It goes in the FPM pool configuration or in php.ini, not through ini_set() or .user.ini, because those apply too late:

php_admin_value[session.upload_progress.enabled] = 0

Then restart all PHP processes. On PHP 8.5, also add fatal_error_backtraces = 0. PHP states clearly that these settings reduce exposure but do not make the installation safe. If the site goes through Cloudflare, the WAF rules published on October 21 block the known vectors; if it doesn't, that's a good argument for putting it behind a tunnel.

Signs of exploitation, according to Wiz: unusual multipart requests followed by memory errors, repeated 500 responses, very large or malformed PHPSESSID cookies, PHP processes that start shells. Amazon recommends starting the investigation from October 17.

FortiGate: a critical update with no details

On October 21, Fortinet published the updates for FortiMail and FortiAuthenticator, and on October 22 those for FortiOS, FortiManager and FortiAnalyzer. The fixed versions are in the table above. The vulnerability details appear on the PSIRT page only on November 10, so you don't know what is being exploited or how. Fortinet asks that the update be treated as a priority, not as routine maintenance, starting with devices exposed to the internet.

How to apply the patch

  1. Inventory your devices and note the current branch of each (7.2, 7.4, 7.6 or 8.0). The target is the first fixed version on the same branch, not a hurried jump to another branch.
  2. Back up the configuration from System › Configuration › Backup, or with execute backup config from the console.
  3. Check the upgrade path in System › Fabric Management or on Fortinet's upgrade path page; some jumps require an intermediate version.
  4. Upgrade FortiManager before the FortiGates it manages, otherwise you risk incompatibility.
  5. After the reboot, confirm the version in System › Status and test the VPN and the main policies.

What to do until the maintenance window

Fortinet vulnerabilities in recent years have almost all been in the admin interface or in the SSL-VPN portal. Fortinet explicitly recommends the same things: restrict HTTPS and SSH access to trusted IPs or disable it on the external interface, never expose FortiManager to the internet, MFA for all administrators. From the console:

config system interface
    edit "wan1"
        set allowaccess ping
    next
end
config system admin
    edit "admin"
        set trusthost1 10.0.0.0 255.255.255.0
    next
end

The first command leaves only ping on the external interface. The second limits the administrator account to the internal network. If you manage the device remotely, you come in through the VPN, not through the management port.

UniFi: bulletins every few weeks

Since the summer, Ubiquiti has been publishing security bulletins almost monthly. Bulletin 067 had 22 vulnerabilities, 21 of them scored above 9.0, including an authentication bypass in UniFi OS. Bulletins 069 of September 22 and 070 of October 14 are rated "High"; read their contents directly on the Ubiquiti page, because other sources don't repeat them. Three vulnerabilities from bulletin 064 are in the CISA catalog of known exploited vulnerabilities.

The steps are the same for every bulletin:

  1. In the UniFi console, Settings › Control Plane › Updates (or Console Settings › Updates on older versions): update UniFi OS, then the Network, Protect, Access, Talk and Connect applications, each to the minimum version in the bulletin.
  2. Turn on automatic updates for the applications, but leave UniFi OS on manual approval, so you control the reboot.
  3. Check that the console's port 443 is not forwarded from the router to the internet. Remote access goes through the UI account with MFA or through a VPN, not through port forwarding.
  4. Adopted devices (switches, access points) get their firmware from the same page; bulletins sometimes include minimum versions for them too.

nginx, Node.js and GitLab: the October 24 update

Three products you find on almost any application server also had security releases in the same week. Two of them have the same profile as PHP: unauthenticated code execution, in code more than ten years old.

nginx published versions 1.30.6 and 1.31.7 on October 14, fixing five vulnerabilities. Three are buffer overflows that F5 rates at 9.2, with possible code execution, but each requires a specific configuration: the alias directive combined with rewrite (affects versions from 0.1.29 onward), variable evaluation in map and similar blocks, or aio enabled. The fourth allows the client certificate check to be bypassed when TLS session tickets are enabled; the fifth concerns HTTP/3. nginx itself rates them "medium," because code execution requires ASLR to be disabled or bypassed. Check with nginx -v and nginx -T | grep -E 'alias|aio|map|ssl_session_tickets'; if none of them shows up, the risk is low, but updating is still the simplest solution. On Ubuntu and Debian, the package comes from the distribution's repositories, with the same apt upgrade as for PHP.

Node.js published versions 26.12.1, 24.22.1 and 22.23.4 on October 21, fixing ten vulnerabilities. The most serious, CVE-2026-111497, named "Node2Shell," is in the Brotli decoder: a malformed compressed stream writes outside the buffer and can lead to code execution. A plain Node server doesn't decompress request bodies on its own. The risk appears when the application uses Express 5 or body-parser with decompression, when it does fetch() to servers you don't control, or when it uses node:zlib directly. Versions 20, 23 and 25 are out of support and get no fix. Check with node -v; update through nvm, through the NodeSource packages or by rebuilding the Docker image from node:24 or node:22. Bun has the fix in 1.4.4.

GitLab is the most deceptive case. On October 12 it fixed CVE-2026-97229, an integer overflow in the regular expression compiler, CVSS 10.0. On October 21 it published another bug in the same compiler, CVE-2026-110264, also 10.0, with affected code going back to GitLab 7.0, from 2014. Instances updated on October 12 are vulnerable again, because the versions released then (19.4.2, 19.3.5, 19.2.8) are one patch below the new ones. GitLab doesn't publish the exploitation conditions and offers no workaround, so you can't establish from your configuration that you're not affected. The fixed versions are in the table; for branches 18.11 through 19.2, the fixes were published outside the usual support policy. GitLab.com already runs the fixed version, so this point concerns only self-managed installations. Check the version in Admin › Overview or with gitlab-rake gitlab:env:info.

What you can do starting tomorrow, whatever the vendor

This week will repeat itself. AI testing programs have found tens of thousands of vulnerabilities that have not yet been fixed, and vendors are shipping the fixes in waves. Four things reduce the effort for the next wave:

  1. A written inventory of every device and application exposed to the internet, its current version and who updates it. Without it, you lose the first day looking for what you have.
  2. No admin interface on the internet. Firewall, UniFi console, hosting panel, phpMyAdmin: all behind a VPN or a tunnel with authentication. Most of the critical vulnerabilities of 2026 are in management interfaces.
  3. A weekly maintenance window agreed with the company, for example Tuesday at 7:00 a.m., in which critical updates are applied without further discussion.
  4. Subscriptions to vendor announcements: Fortinet PSIRT, Ubiquiti bulletins, the PHP announcements list, nginx-announce, the Node.js security blog, the GitLab list. The Fortinet email reached registered customers a day before the press, and the GitLab case shows that a patch from the 12th doesn't spare you the one from the 21st.

Where this doesn't fit

The recommendations above assume you have administrator access to the devices and the server. On shared hosting you don't control the PHP version at system level, only from the provider's panel, and if the provider hasn't updated, the only option is to move. On Fortinet devices that are out of support, such as models that no longer get 7.2, there is no fixed version; they get replaced or taken off the internet. For PHP 7.x and 8.0, the source patches require recompiling, which we don't recommend in a small company; migrating to 8.3 is usually cheaper than maintaining a manually compiled version.

How we handle it

For clients of our IT Management service, the inventory already exists: Brio Endpoint Manager tracks system and application versions on Windows and Linux servers and reads the FortiGate configuration, so on the morning of an announcement we know within minutes which devices are affected and which are exposed. PHP and system updates go into the maintenance windows configured per client, while network devices are updated manually, with a backup before and a test after. Admin interfaces are closed from the first day of the contract, not after the first incident.

If you have a FortiGate, a UniFi console or a PHP site and you're not sure which version it runs or who should update it, send us the device model or the site address. We'll tell you the same day whether you're affected and what needs to be done, and if you want, we'll do the update ourselves, with a backup first.

Frequently asked questions

My site runs on WordPress, do I need to update WordPress too?

No. The vulnerabilities of October 21, 2026 are in the PHP engine, not in WordPress, so WordPress.org did not publish a new version for them. What needs updating is the PHP on the server, to 8.5.12, 8.4.27, 8.3.36 or 8.2.35. On shared hosting, you choose the PHP version from the provider's panel or the provider updates it.

How do I check which PHP version my site runs?

From the hosting panel, in the PHP or "Select PHP Version" section. On your own server, with php-fpm8.3 -v or the equivalent for your branch, not with php -v, which shows the terminal version and may be different. The safest way is a temporary file v.php with <?php echo PHP_VERSION;, opened in the browser and deleted immediately afterward.

Fortinet hasn't published which vulnerabilities it fixed. Why upgrade now?

Fortinet is holding back the details until November 10, 2026 precisely because an attacker with an AI model can rebuild the exploit from the difference between versions in a few hours. The update has fixed versions for all supported branches, and the announcement says it also fixes critical issues. The more devices are updated before publication, the less the details are worth to attackers.

Is it enough to restrict access to the admin interface instead of upgrading?

No. Restricting access reduces exposure until the maintenance window, but it doesn't fix the vulnerability. Fortinet and PHP say the same thing: temporary measures don't replace the update. An attacker who already has access to the internal network, through an infected laptop for example, reaches the admin interface even if it isn't on the internet.

How often should I expect updates like these from now on?

More often than before. AI testing programs reported tens of thousands of vulnerabilities to vendors in 2026, and most of them have not been fixed yet. Ubiquiti has published bulletins every few weeks, Fortinet ships monthly, and PHP had an out-of-schedule security release. A weekly maintenance window and an up-to-date inventory make the difference between an hour and a full working day at every wave.

OpenAI: 948 paths to root in Linux. What to change on your server

An AI model found and exploited 948 Linux kernel vulnerabilities for $1.2 million. What this means for a small company's Linux server.

Read the article

NGINX vs Caddy: which reverse proxy to choose for your company server

NGINX or Caddy in front of the applications on your company server: HTTPS certificates, HTTP/3, configuration, maintenance and a simple rule for choosing.

Read the article

Document anonymization solutions: what exists and how to choose

Manual redaction, open-source library, cloud API or on-premise app with local AI: what each document anonymization solution does and how to choose.

Read the article

Want to talk about your company’s IT?

Tell us what you are dealing with and we will reply with a concrete recommendation, with no obligation.