Phpmap report sample-a

Phpmap triage — Monday 23 Nov 2026

Verdict: 2 of 3 servers are exposed to phpAfterShell (CVE-2026-126714) now — Patch shop-prod first (internet-facing, PHP 8.4.27 (fpm-fcgi) (built: Nov 4 2026 10:11:12) (NTS); FPM/FastCGI) → 8.4.28; interim per its card below (e.g. session.upload_progress.enabled=0 and reload FPM where the advisory supports it).

Exports: Markdown (change ticket) · CSV · Run a new check

This stored report contains the computed verdicts and the host labels from the original check. It does not contain raw phpinfo pastes.

Fleet matrix

Host2026-1267142026-1155602026-1292892026-1294962026-1294812026-1294742026-1291822026-129291
shop-prodExposed nowExposed nowConditional — check neededConditional — check neededConditional — check neededNot affected (branch)Not affected (branch)Conditional — check needed
intranetNot exposed by this configExposed nowNot exposed by this configNot exposed by this configNot affected (branch)Not affected (branch)Not affected (branch)Not exposed by this config
blog-prodFixedFixedFixedFixedFixedNot affected (branch)Not affected (branch)Fixed

shop-prod

Patch today — internet-facing RCE exposed

PHP 8.4.27 (fpm-fcgi) (built: Nov 4 2026 10:11:12) (NTS) · FPM/FastCGI · branch 8.4 · Target: 8.4.28

Front-end evidence: nginx fastcgi_keep_conn on.

CVECVSSVerdictWhyFixInterim (advisory)Verify
CVE-2026-126714
phpAfterShell — partially overwritten session files
9.2Exposed nowPHP 8.4.27 is in the affected range, session.save_handler is “files”, and session.upload_progress.enabled is on. That is the phpAfterShell setup: attacker-influenced session data plus an interrupted files-handler write can splice sessions toward object deserialization, needing a gadget chain for code execution.8.4.28Set session.upload_progress.enabled=0 administratively (php.ini / FPM pool, not ini_set()) if the feature is not needed, and limit untrusted data stored in sessions. This removes the upload-progress input path; it does NOT fully fix apps that store attacker-controlled session data. A session backend that replaces records atomically (e.g. redis/memcached/db) avoids this file-write defect; the PHP update is still the recommended fix. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-fm2m-fjf5-v3cp, Mitigation
php -i | grep -i 'session.upload_progress.enabled'
php -i | grep -i 'session.save_handler'
php -v
CVE-2026-115560
Session serializer mismatch via upload progress
9.2Exposed nowPHP 8.4.27 is affected and session.upload_progress.enabled is on, so the multipart writer path is live. This host reports session.serialize_handler “php_serialize”. Code execution additionally needs a reader of the same session store using the php serializer while a writer used php_binary/php_serialize, plus a gadget chain — verify every pool/vhost/CLI job sharing the store uses one serializer; separate FPM pools do not automatically mean separate session storage.8.4.28Keep session.upload_progress.enabled=0 in every configuration that can write to the affected session store, set administratively before request input is processed (ini_set() is too late). If upload progress stays enabled anywhere, every reader/writer of that store must use the same session.serialize_handler — check php.ini, FPM pools, vhosts, app overrides and CLI jobs, and isolate session storage where formats differ. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-658j-r8rw-q6mx, Mitigation
php -i | grep -i 'session.upload_progress.enabled'
php -i | grep -i 'session.serialize_handler'
grep -R 'serialize_handler' /etc/php/ 2>/dev/null
php -v
CVE-2026-129289
PHP-FPM request smuggling through an unread request body
9.2Conditional — check neededPHP 8.4.27 is affected and the front end keeps persistent backend connections. One precondition cannot be seen from phpinfo: an application path that opens php://input without reading it fully (frameworks that build a body stream before routing count). Grep the app for php://input; until ruled out, treat as exposed and apply the interim.8.4.28Disable backend connection reuse on the front end: leave nginx fastcgi_keep_conn disabled, leave Apache mod_proxy_fcgi enablereuse disabled, or make another FastCGI front end close its backend connection after every request. Reading php://input fully helps the demonstrated case but is unreliable as the sole mitigation. Do not expose FPM/LSAPI listeners to untrusted networks. Reload the front end and FPM after changing this.
GHSA-qc49-hpvq-g2w6, Mitigation
nginx -T 2>/dev/null | grep -i fastcgi_keep_conn
grep -R 'enablereuse' /etc/apache2/ /etc/httpd/ 2>/dev/null
php -v
CVE-2026-129496
Timezone cache use-after-free
9.2Conditional — check neededPHP 8.4.27 is in the affected range. Exploitation needs a startup diagnostic written through PHP's file error_log (an invalid date.timezone or a session-config warning are confirmed examples) plus an early diagnostic in a fresh worker. date.timezone is “Europe/London”. Check the FPM/Apache logs for startup warnings, fix any config errors, and check: php -i | grep -E 'log_errors|error_log'. FPM's own error log alone does not meet the condition.8.4.28Correct configuration errors and deprecated settings that produce startup diagnostics (an invalid date.timezone is a confirmed example), then restart the PHP master process and all workers. Sending PHP errors to syslog instead of a file error_log also avoids the demonstrated trigger. Changing $_REQUEST/cookie settings is not a complete mitigation. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-gr4f-wgx5-jpfv, Mitigation
php -i | grep -iE '^(log_errors|error_log|date.timezone)'
php -v
CVE-2026-129481
Use-after-free after interrupted session shutdown
9.2Conditional — check neededPHP 8.4.27 is in the affected range (8.3+). Reaching it needs session cleanup to fail part-way (e.g. a fatal error in a callback during session shutdown) and a later request in the same worker; the reproducer uses FPM with OPcache disabled. Whether your apps have such a cleanup path cannot be seen from phpinfo — patch, or use the pm.max_requests=1 interim.8.4.28For PHP-FPM, setting pm.max_requests=1 and restarting the workers prevents the demonstrated same-worker sequence, at a performance cost; also avoid fatal errors in callbacks reached during session cleanup. Disabling session upload progress does not address this path, and enabling OPcache alone is not a reliable mitigation. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-g3vh-838c-65v7, Mitigation
grep -R 'pm.max_requests' /etc/php/ 2>/dev/null
php -v
CVE-2026-129474
Use-after-free in magic method backtraces
9.2Not affected (branch)Branch 8.4 (PHP 8.4.27) is outside the advisory's affected range for CVE-2026-129474 (8.5.0–<8.5.13 (GHSA; 8.2–8.4 outside the range); 8.6.0 contains the fix (ChangeLog-8)).——
—
php -i | grep -i 'zend.exception_ignore_args'
php -i | grep -i 'fatal_error_backtraces'
php -v
CVE-2026-129182
Use-after-free via last_fatal_error_backtrace repopulation
9.2Not affected (branch)Branch 8.4 (PHP 8.4.27) is outside the advisory's affected range for CVE-2026-129182 (8.5.0–<8.5.13 (GHSA; 8.4 and earlier do not contain the global); 8.6.0 contains the fix (ChangeLog-8)).——
—
php -i | grep -i 'fatal_error_backtraces'
php -v
CVE-2026-129291
PHP-FPM epoll use-after-free — local privilege escalation
8.8Conditional — check neededPHP 8.4.27 with FPM is in range, but catch_workers_output and/or events.mechanism were not in the paste. Check the pool config: grep -R 'catch_workers_output' /etc/php/ and the FPM events.mechanism (Linux FPM commonly uses epoll). Exploitation also needs local code execution in a worker.8.4.28Disable catch_workers_output in affected FPM pools. Running the FPM master without root limits the obtainable privileges but does not correct the use-after-free; disabling Curl/OPcache is not a complete mitigation. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-jm4m-qfqx-967m, Mitigation
grep -R 'catch_workers_output' /etc/php/ 2>/dev/null
php -v

intranet

Patch today — RCE exposed

PHP 8.2.30 (apache2handler) (built: Sep 2 2026 09:00:00) (NTS) · apache2handler · branch 8.2 · Target: 8.2.36

CVECVSSVerdictWhyFixInterim (advisory)Verify
CVE-2026-126714
phpAfterShell — partially overwritten session files
9.2Not exposed by this configPHP 8.2.30 is in the affected range, but session.save_handler is “redis”, not the files handler. The advisory defect is specific to the files handler; other session storage implementations are not affected by this specific defect. Patch anyway for the other CVEs.8.2.36Set session.upload_progress.enabled=0 administratively (php.ini / FPM pool, not ini_set()) if the feature is not needed, and limit untrusted data stored in sessions. This removes the upload-progress input path; it does NOT fully fix apps that store attacker-controlled session data. A session backend that replaces records atomically (e.g. redis/memcached/db) avoids this file-write defect; the PHP update is still the recommended fix. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-fm2m-fjf5-v3cp, Mitigation
php -i | grep -i 'session.upload_progress.enabled'
php -i | grep -i 'session.save_handler'
php -v
CVE-2026-115560
Session serializer mismatch via upload progress
9.2Exposed nowPHP 8.2.30 is affected and session.upload_progress.enabled is on, so the multipart writer path is live. This host reports session.serialize_handler “php_serialize”. Code execution additionally needs a reader of the same session store using the php serializer while a writer used php_binary/php_serialize, plus a gadget chain — verify every pool/vhost/CLI job sharing the store uses one serializer; separate FPM pools do not automatically mean separate session storage.8.2.36Keep session.upload_progress.enabled=0 in every configuration that can write to the affected session store, set administratively before request input is processed (ini_set() is too late). If upload progress stays enabled anywhere, every reader/writer of that store must use the same session.serialize_handler — check php.ini, FPM pools, vhosts, app overrides and CLI jobs, and isolate session storage where formats differ. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-658j-r8rw-q6mx, Mitigation
php -i | grep -i 'session.upload_progress.enabled'
php -i | grep -i 'session.serialize_handler'
grep -R 'serialize_handler' /etc/php/ 2>/dev/null
php -v
CVE-2026-129289
PHP-FPM request smuggling through an unread request body
9.2Not exposed by this configPHP 8.2.30 is in the affected range, but the reported Server API (apache2handler) is not FPM/FastCGI or LSAPI, so the persistent-backend-connection desync in the advisory does not apply as modelled. If this box also runs FPM behind a front end, paste that SAPI's phpinfo instead.8.2.36Disable backend connection reuse on the front end: leave nginx fastcgi_keep_conn disabled, leave Apache mod_proxy_fcgi enablereuse disabled, or make another FastCGI front end close its backend connection after every request. Reading php://input fully helps the demonstrated case but is unreliable as the sole mitigation. Do not expose FPM/LSAPI listeners to untrusted networks. Reload the front end and FPM after changing this.
GHSA-qc49-hpvq-g2w6, Mitigation
nginx -T 2>/dev/null | grep -i fastcgi_keep_conn
grep -R 'enablereuse' /etc/apache2/ /etc/httpd/ 2>/dev/null
php -v
CVE-2026-129496
Timezone cache use-after-free
9.2Not exposed by this configPHP 8.2.30 is in the affected range, but error_log is syslog. The advisory says a logging destination that does not use the file-timestamp path, such as syslog, avoids the demonstrated trigger.8.2.36Correct configuration errors and deprecated settings that produce startup diagnostics (an invalid date.timezone is a confirmed example), then restart the PHP master process and all workers. Sending PHP errors to syslog instead of a file error_log also avoids the demonstrated trigger. Changing $_REQUEST/cookie settings is not a complete mitigation. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-gr4f-wgx5-jpfv, Mitigation
php -i | grep -iE '^(log_errors|error_log|date.timezone)'
php -v
CVE-2026-129481
Use-after-free after interrupted session shutdown
9.2Not affected (branch)Branch 8.2 (PHP 8.2.30) is outside the advisory's affected range for CVE-2026-129481 (8.3.0–<8.3.37, 8.4.0–<8.4.28, 8.5.0–<8.5.13 (GHSA; PHP 8.2 does not contain the field); 8.6.0 contains the fix (ChangeLog-8)).——
—
grep -R 'pm.max_requests' /etc/php/ 2>/dev/null
php -v
CVE-2026-129474
Use-after-free in magic method backtraces
9.2Not affected (branch)Branch 8.2 (PHP 8.2.30) is outside the advisory's affected range for CVE-2026-129474 (8.5.0–<8.5.13 (GHSA; 8.2–8.4 outside the range); 8.6.0 contains the fix (ChangeLog-8)).——
—
php -i | grep -i 'zend.exception_ignore_args'
php -i | grep -i 'fatal_error_backtraces'
php -v
CVE-2026-129182
Use-after-free via last_fatal_error_backtrace repopulation
9.2Not affected (branch)Branch 8.2 (PHP 8.2.30) is outside the advisory's affected range for CVE-2026-129182 (8.5.0–<8.5.13 (GHSA; 8.4 and earlier do not contain the global); 8.6.0 contains the fix (ChangeLog-8)).——
—
php -i | grep -i 'fatal_error_backtraces'
php -v
CVE-2026-129291
PHP-FPM epoll use-after-free — local privilege escalation
8.8Not exposed by this configPHP 8.2.30 is in the affected range, but the reported Server API (apache2handler) is not PHP-FPM. This local privilege escalation lives in the FPM master's epoll handling.8.2.36Disable catch_workers_output in affected FPM pools. Running the FPM master without root limits the obtainable privileges but does not correct the use-after-free; disabling Curl/OPcache is not a complete mitigation. Reload/restart PHP-FPM (or Apache) after changing PHP settings — running workers keep the old values until then.
GHSA-jm4m-qfqx-967m, Mitigation
grep -R 'catch_workers_output' /etc/php/ 2>/dev/null
php -v

blog-prod

No action from this set — fixed / not affected

PHP 8.3.37 (fpm-fcgi) (built: Nov 20 2026 08:00:00) (NTS) · FPM/FastCGI · branch 8.3 · Target: 8.3.37 (already at/after 8.3.37)

Front-end evidence: FastCGI front end pasted without a keep-alive directive (defaults: nginx off, Apache reuse off — but a global include may differ).

CVECVSSVerdictWhyFixInterim (advisory)Verify
CVE-2026-126714
phpAfterShell — partially overwritten session files
9.2FixedPHP 8.3.37 is on/after 8.3.37, the patched release for branch 8.3 in GHSA-fm2m-fjf5-v3cp. Verify the running FPM/Apache workers were restarted after the upgrade.8.3.37—
—
php -i | grep -i 'session.upload_progress.enabled'
php -i | grep -i 'session.save_handler'
php -v
CVE-2026-115560
Session serializer mismatch via upload progress
9.2FixedPHP 8.3.37 is on/after 8.3.37, the patched release for branch 8.3 in GHSA-658j-r8rw-q6mx. Verify the running FPM/Apache workers were restarted after the upgrade.8.3.37—
—
php -i | grep -i 'session.upload_progress.enabled'
php -i | grep -i 'session.serialize_handler'
grep -R 'serialize_handler' /etc/php/ 2>/dev/null
php -v
CVE-2026-129289
PHP-FPM request smuggling through an unread request body
9.2FixedPHP 8.3.37 is on/after 8.3.37, the patched release for branch 8.3 in GHSA-qc49-hpvq-g2w6. Verify the running FPM/Apache workers were restarted after the upgrade.8.3.37—
—
nginx -T 2>/dev/null | grep -i fastcgi_keep_conn
grep -R 'enablereuse' /etc/apache2/ /etc/httpd/ 2>/dev/null
php -v
CVE-2026-129496
Timezone cache use-after-free
9.2FixedPHP 8.3.37 is on/after 8.3.37, the patched release for branch 8.3 in GHSA-gr4f-wgx5-jpfv. Verify the running FPM/Apache workers were restarted after the upgrade.8.3.37—
—
php -i | grep -iE '^(log_errors|error_log|date.timezone)'
php -v
CVE-2026-129481
Use-after-free after interrupted session shutdown
9.2FixedPHP 8.3.37 is on/after 8.3.37, the patched release for branch 8.3 in GHSA-g3vh-838c-65v7. Verify the running FPM/Apache workers were restarted after the upgrade.8.3.37—
—
grep -R 'pm.max_requests' /etc/php/ 2>/dev/null
php -v
CVE-2026-129474
Use-after-free in magic method backtraces
9.2Not affected (branch)Branch 8.3 (PHP 8.3.37) is outside the advisory's affected range for CVE-2026-129474 (8.5.0–<8.5.13 (GHSA; 8.2–8.4 outside the range); 8.6.0 contains the fix (ChangeLog-8)).——
—
php -i | grep -i 'zend.exception_ignore_args'
php -i | grep -i 'fatal_error_backtraces'
php -v
CVE-2026-129182
Use-after-free via last_fatal_error_backtrace repopulation
9.2Not affected (branch)Branch 8.3 (PHP 8.3.37) is outside the advisory's affected range for CVE-2026-129182 (8.5.0–<8.5.13 (GHSA; 8.4 and earlier do not contain the global); 8.6.0 contains the fix (ChangeLog-8)).——
—
php -i | grep -i 'fatal_error_backtraces'
php -v
CVE-2026-129291
PHP-FPM epoll use-after-free — local privilege escalation
8.8FixedPHP 8.3.37 is on/after 8.3.37, the patched release for branch 8.3 in GHSA-jm4m-qfqx-967m. Verify the running FPM/Apache workers were restarted after the upgrade.8.3.37—
—
grep -R 'catch_workers_output' /etc/php/ 2>/dev/null
php -v

Dated next steps

  1. Today (by 23 Nov 2026): shop-prod: apply the interim settings on its card, reload FPM/Apache, then patch to 8.4.28. (PHP 8.4.27 (fpm-fcgi) (built: Nov 4 2026 10:11:12) (NTS); FPM/FastCGI)
  2. Today (by 23 Nov 2026): intranet: apply the interim settings on its card, reload FPM/Apache, then patch to 8.2.36. (PHP 8.2.30 (apache2handler) (built: Sep 2 2026 09:00:00) (NTS); apache2handler)
  3. This week (by 30 Nov 2026): shop-prod: clear the FPM epoll LPE (CVE-2026-129291) — disable catch_workers_output in the pool or patch to 8.4.28. Lower urgency only if no untrusted code runs in its workers.
  4. After every upgrade (by 30 Nov 2026): Re-run php -v and php -i on each patched box (from the web SAPI, not just CLI), restart FPM/Apache so workers pick up the new build, paste the new output into Phpmap and confirm every row reads FIXED. Keep the before/after share links in the change ticket.

Plus 16 other security fixes in the same 19 Nov 2026 releases (six also rated critical), per Cloudflare's write-up — patch anyway; Phpmap models the eight CVEs below individually because they have distinct branch coverage or config preconditions. HKCERT notes proof-of-concept code is publicly available for CVE-2026-126714 and CVE-2026-115560 (fetched 23 Nov 2026). Phpmap contains no exploit detail.

Why not just read the advisory / run a scanner?

Why not just read the advisory or run a scanner? The GitHub advisories are per-CVE prose: eight separate documents with different branch ranges and preconditions, none of which know your session handler, your front end's connection reuse, or your FPM pool settings. Distro trackers are per-package and per-release, so a version string like 8.4.27-1+deb13u1 tells you nothing until you look the package up. Most scanners match version numbers, so they miss the config preconditions (files vs atomic session backend, fastcgi_keep_conn, catch_workers_output) and flag distro packages that already carry a backport — or clear EOL builds that upstream no longer fixes. Phpmap reads the php -v / php -i output you already can collect, applies each advisory's range AND its stated preconditions per box, and turns the result into a dated patch order with interim settings and verification commands for a change ticket. The advisories and your distro tracker still decide; this only does the cross-referencing.

Sources (checked 23 Nov 2026)