One patch day, five traps: finding PHP, nginx and WordPress on your own network and really updating them
Summary
On 18 and 19 November 2026 security updates arrived for nginx, WordPress and PHP, and in the same week Ruby2ßhell and Java4Shell. I first compiled a read-only list of every system running PHP, nginx or WordPress and only then patched. This post shows the check script and five places where “updated” did not mean “protected”.
What was released on 18 and 19 November
On Wednesday, 18 November, F5 released nginx 1.30.7 (stable) and 1.31.9 (mainline). They close ten vulnerabilities, five of them rated CVSS 4.0 9.2, four are use-after-free bugs with possible code execution; according to heise, two date back to 2007. On the same day WordPress 7.1.5 arrived with fixes for 20 issues, including eight cross-site scripting bugs and two SQL injections.
On Thursday, 19 November, PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 followed with 17 fixed vulnerabilities, seven of them critical. According to heise, each of the five with possible code execution needs a precondition: for example PHP-FPM or LSAPI with FCGI_KEEP_CONN=1, session upload progress combined with the “php” session handler, or on 8.5 the combination of fatal_error_backtraces=1 and zend.exception_ignore_args=0. Unlike PHP2Shell in October, this is not an emergency release; PHP publishes such releases monthly.
What you can take away: Three advisories in two days are no reason to panic, but a good occasion to record once and for all where this software actually runs. Without that list, after the update you only know what you patched, not what you forgot.
First the list, then the updates
Before updating anything, I ran a small read-only script on every reachable system. It queries packages, looks for additional PHP binaries (hosting panels such as KeyHelp bring their own), counts running processes, searches for WordPress installations and looks into every running container:
#!/bin/sh
# Read-only: nginx/PHP/WordPress inventory of one host
echo "## $(hostname -f)"
dpkg-query -W -f='${db:Status-Abbrev} ${Package} ${Version}\n' 'nginx*' 'php*' 'libapache2-mod-php*' 2>/dev/null | grep '^ii'
command -v pkg >/dev/null && pkg info | grep -i -E '^(nginx|php)' # FreeBSD/OPNsense
for b in /opt/keyhelp/php/*/bin/php /usr/local/bin/php*; do
[ -x "$b" ] && echo "PHP $b $($b -r 'echo PHP_VERSION;')"
done
ps -eo comm= | grep -E '^(nginx|php-fpm|apache2|httpd|caddy)' | sort | uniq -c
find /var/www /home /srv /opt -maxdepth 7 -path '*/wp-includes/version.php' 2>/dev/null |
while read f; do echo "WP $(grep -E '^.wp_version' "$f" | cut -d"'" -f2) ${f%/wp-includes/version.php}"; done
command -v docker >/dev/null && docker ps --format '{{.Names}}' | while read n; do
echo "CT $n php=$(timeout 5 docker exec "$n" php -r 'echo PHP_VERSION;' 2>/dev/null)" \
"nginx=$(timeout 5 docker exec "$n" nginx -v 2>&1 | grep -o '[0-9.]*$')"
doneI sorted the result into three groups: affected, not affected and not checkable. The third group matters most. On two systems the server rejected my key, on two others SSH reported a changed host key. I did not bypass that error but noted it as an open item: a changed host key can be a reinstallation or an attack, and that is not something to settle in passing.
What you can take away: “Not checkable” is not “not affected”. A system that escapes the list stays on it until someone has looked inside.
Trap 1: a new image is not a new fix
On the wiki server DokuWiki runs in the container dokuwiki/dokuwiki:stable. On 19 November at 14:56 UTC this image had just been rebuilt, yet it still contained PHP 8.4.27 and the same DokuWiki version. Switching would have cost a wiki restart and closed not a single vulnerability. It was exactly the same with PHP2Shell in October: the image rebuilt that morning still contained PHP 8.4.26. For the short link service shlink, the digest of shlinkio/shlink:stable had not changed at all; it still ships PHP 8.5.12.
Whether a new image contains the fix can be checked before switching, without touching the running service:
docker pull dokuwiki/dokuwiki:stable
docker image inspect --format '{{.Created}}' dokuwiki/dokuwiki:stable
docker run --rm --entrypoint php dokuwiki/dokuwiki:stable -v | head -1
docker exec <running-container> php -v | head -1I also gave the old image a tag of its own (rollback-20261119), so the way back does not depend on whether the registry still serves it.
What you can take away: For containers, compare the version inside the image, not the date. Only when the patched version is in there is the restart worth it, and then only for that one service, not the whole stack.
Trap 2: the distribution’s version number does not lie, it just says something else
Debian and Ubuntu backport security fixes into their own packages, and the upstream version number often stays the same. For Debian 13, heise reported PHP 8.4.28-1~deb13u1 (DSA-6641-1). Debian 12 is now in long-term support, and there the PHP fix came as 8.2.36-1~deb12u1 via DLA-4916-1. For nginx the distribution uses entirely different numbers: upstream fixes it in 1.30.7, Debian 13 in 1.26.3-3+deb13u11 (DSA-6642-1). For nginx in Debian 12, the security tracker listed no fix yet on the evening of 19 November; 1.22.1-9+deb12u10 was still marked vulnerable.
On my NAS running Debian 12 a second deception came on top: the package lists dated from 17 November. apt-cache policy therefore showed no newer candidate, although the PHP fix had long been in the archive. If you only ask the cache, you see the state of the last list update, not today’s.
apt-get update
apt-cache policy php8.2-fpm nginx
apt-get changelog nginx | head -20
# Status per CVE: https://security-tracker.debian.org/tracker/CVE-2026-123007What you can take away: For distribution packages, check the security tracker or the changelog for the specific CVE, not the upstream version number. And refresh the package lists before concluding from “no candidate” that there is no update yet.
Trap 3: PHP and nginx in devices nobody lists as web servers
Two firewalls running OPNsense 26.7.9 showed up in the list. Their web interface runs on php85 8.5.12_2, a version from before the fix of 19 November. The NAS with OpenMediaVault serves its interface via nginx 1.22.1 and php8.2-fpm. Nobody would call any of these devices a “web server” if asked, yet all three are.
On such devices PHP cannot be replaced on its own. The fix arrives with the vendor’s next update or that of the distribution underneath. Until then, what should apply anyway helps: the management interface is reachable only from the management network, never from the internet and not from the guest network.
What you can take away: Put firewalls, NAS boxes, routers and hypervisors on the list, not just the servers with websites. Note there which vendor update you are waiting for, and check whether it has been released.
Trap 4: an installed kernel is not a running kernel
On 19 November, three Proxmox hosts each had 20 packages pending, including the management stack (pve-manager 9.2.31), qemu-server, pve-container and kernel 7.0.14-30. I installed everything and rebooted nothing, as agreed. All guests kept running. The new kernel now sits on disk and only becomes active at the next boot. One host was still running 7.0.14-23, although 7.0.14-28 and -29 were already installed there: its reboot had been postponed for a while.
uname -r # running kernel
proxmox-boot-tool kernel list # installed and pinned kernels
ls /boot/vmlinuz-* # generally on DebianA second detail concerned the path to the host. One of the hosts can only be reached through a firewall that itself runs as a virtual machine on exactly that host. If the SSH connection drops during the update, for instance because a network service restarts, apt dies in the middle of dpkg. There I therefore started the update as a separate systemd unit that keeps running independently of the session, logging to a file:
systemd-run --unit=apt-update-20261119 sh -c \
'DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=--force-confold dist-upgrade > /root/apt-update-20261119.log 2>&1'
journalctl -u apt-update-20261119 -fWhat you can take away: Keep “installed” and “active” apart, for the kernel as for services: a PHP-FPM still running with the old library is not patched. Track postponed reboots as an open task, or they will run on for months.
Trap 5: WordPress nobody serves, and WordPress that no longer updates itself
On a web hosting server the script found three WordPress installations: 7.1.3, 6.9.1 and 6.3. Only the first one was actually served. The other two sat in web directories that no virtual host pointed to any more; in one of them no file had changed since February, and its wp-config.php with the database credentials had mode 666, readable and writable for every user on the server. Whether an installation is live is decided by the web server configuration, not the file system:
apache2ctl -S # which hosts, which configuration
grep -R "DocumentRoot" /etc/apache2/ | sort -u # where they point
curl -sI https://example.org/wp-login.php # cross-check from outsideAfter consultation I archived this old installation, compared the unpacked backup with the original and only then deleted it; the second one is still awaiting a decision. Even a copy that is not served is a risk as long as it contains credentials.
The live site was on 7.1.3 even though automatic minor updates were switched on. The cause was not WordPress itself: the site’s cron schedule had been stuck since 14 December 2024. An orphaned task of an inactive plugin used an interval nobody registered any more; when rescheduling it, wp-cron.php tried to report this with error_log(), and that function was blocked via disable_functions in the PHP-FPM pool created by the hosting panel. PHP 8 then aborts, on every call at the same spot, while wp-cron.php keeps answering HTTP 200 to the outside. The last automatic core update dated from July 2024, and the firewall plugin’s rule updates had also stopped since December 2024. After removing the orphaned task, everything that had piled up ran in a single pass.
What you can take away: Count WordPress installations via the web server configuration and clear away dead copies. And do not rely on the switch for auto-updates: check whether overdue cron tasks are lying around, for example with wp cron event list, and whether the installed version matches the current branch.
Next door in the same week: Ruby2ßhell and Java4Shell
Ruby2ßhell (Veria Labs, 19 November): in Ruby’s single-byte encodings such as ISO-8859 and Windows-125x, upcasing turns “ß” into a two-byte “SS”, but the loop only checks for one byte. The output buffer is 20 bytes larger than the input, so 21 ß overflow it by one byte. Every Ruby version since 2.4 is affected, Rails and classic-style Sinatra already in their default configuration; according to Veria Labs, GitLab 19.6.0, GitHub Enterprise Server 3.22.5 and Chatwoot 4.20.0 still bundle an affected Ruby. It is fixed in 3.3.14, 3.4.13 and 4.0.10; Veria Labs plans to publish a proof of concept a week later.
Java4Shell (CVE-2026-114938, CVSS 9.2, Calif): the hand-written assembly Base64 decoder in OpenJDK 17.0.6 and later computes a negative output length for 64 × “A” followed by one “=” and writes 62 bytes past the end of the buffer. Only x86-64 processors with AVX-512 VBMI are affected, according to heise Intel Xeon from Ice Lake and AMD from Zen 4. Calif used it to demonstrate unauthenticated code execution in Keycloak, Jira, Confluence, Artifactory and Jenkins, among others. Oracle released updates on 17 November; as a stopgap, Calif names the JVM switch -XX:-UseBASE64Intrinsics. Remarkably, the bug had been public since September as pull request #32781 in the OpenJDK repository (“AVX-512 Base64 decoder overwrites output buffer on short padded tail”), which sat unreviewed and was closed for inactivity. In Berlin, the Senate Department for Education shut down central school applications because of Java4Shell.
grep -c avx512vbmi /proc/cpuinfo # > 0: the CPU can use the affected code path
java -XX:-UseBASE64Intrinsics -jar app.jarWhat you can take away: Put Ruby and Java on the same list: GitLab, Mastodon and Chatwoot often bundle Ruby in their own package or image, and Java hides in Keycloak, Jenkins, Elasticsearch and many vendor tools. Patch on processors without AVX-512 too, because the Oracle updates close ten further vulnerabilities.
Checklist for the next patch day
- Record read-only first: packages, extra binaries of hosting panels, running processes, containers, WordPress. Sort the result into “affected”, “not affected” and “not checkable”.
- Refresh package lists, then look up each CVE in the distribution’s security tracker instead of comparing upstream versions.
- For containers, check the version inside the new image before switching; recreate only the affected service and tag the old image as a way back.
- Include firewalls, NAS boxes and hypervisors with a web interface and note the vendor update you expect.
- After installing, separate “installed” from “active”: kernel, PHP-FPM, Apache with mod_php, workers. Track postponed reboots as a task.
- On hosts whose connection runs through one of their own guests, start updates as a systemd unit with a log file.
- For WordPress, count only served installations, back up and remove dead copies, and check the cron schedule for overdue tasks.
Numbers at a glance
- nginx 1.30.7 (stable) and 1.31.9 (mainline) of 18 November 2026 close ten vulnerabilities, five of them rated CVSS 4.0 9.2.
- WordPress 7.1.5 of 18 November 2026 fixes 20 issues; the next major release 7.2 is planned for 8 December.
- PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 of 19 November 2026 fix 17 vulnerabilities, seven of them critical.
- Debian ships the PHP fix as 8.4.28-1~deb13u1 (Debian 13, DSA-6641-1) and 8.2.36-1~deb12u1 (Debian 12, DLA-4916-1); nginx for Debian 12 was still marked vulnerable on the evening of 19 November.
- The dokuwiki/dokuwiki:stable image built on 19 November at 14:56 UTC still contained PHP 8.4.27.
- Java4Shell (CVE-2026-114938) affects OpenJDK 17.0.6 and later only on x86-64 processors with AVX-512 VBMI; Ruby2ßhell is fixed in Ruby 3.3.14, 3.4.13 and 4.0.10.
References
- PHP: PHP 8.5.13 Released (19 Nov 2026)
- heise: PHP fixes 17 vulnerabilities, five allow code execution (19 Nov 2026, German)
- nginx: Security Advisories
- heise: Web server nginx, update closes severe vulnerabilities (18 Nov 2026, German)
- WordPress: WordPress 7.1.5 Release
- heise: WordPress update closes dozens of vulnerabilities (18 Nov 2026, German)
- Debian Security Tracker: CVE-2026-123007 (nginx, HTTP/2)
- Debian Security Tracker: CVE-2026-129289 (PHP-FPM, FCGI_KEEP_CONN)
- Veria Labs: Ruby2Shell (GHSA-34m4-m9fh-gqp5)
- heise: ruby2ßhell, remote code execution through 21 ß (19 Nov 2026, German)
- Calif: Java4Shell (CVE-2026-114938)
- heise: Java RCE with AAAA…A= (Java4Shell, German)
- Oracle: Critical Patch Update, November 2026
- OpenJDK: pull request #32781, AVX-512 Base64 decoder overwrites output buffer on short padded tail
- Golem: Java4Shell, Berlin schools shut down central applications (19 Nov 2026, German)
- PHP2Shell: install the updates and block multipart in Caddy and Apache until then (21 Oct 2026)
Remarks
- All details about my own systems come from queries on 19 November 2026; the inventory was read-only, and I installed updates only afterwards and one at a time. I deliberately do not name host names or the customer sites I look after.
- One misjudgement of my own belongs here: when the WordPress site suddenly showed 7.1.5, I first took it for an automatic update. In fact it was a manual update from a parallel work session; only the look into the cron schedule showed that automatic updates had not run at all since 2024.
Read the PHP team’s security release
Found a mistake or have something to add? Get in touch.
Links to the original source and the Web Archive open in a new tab.