CVE-2026-129292: PHP-FPM’s full status page prints the request user and script name unescaped

ByLinuxtastic

December 1, 2026 #CVE, #PHP

PHP-FPM’s status endpoint, when enabled with pm.status_path, can print a per-worker table with ?full, and the record says that output “includes the request method, authentication user and script filename of each worker without escaping them for the HTML, XML or JSON format”. A request whose HTTP Basic-auth username carries markup is enough: the web server forwards the header, PHP stores the username in the worker’s scoreboard entry whether or not the application uses Basic auth, and “when a user views the full status page as HTML, the injected JavaScript runs in the origin of that page”. The attacker needs no access to the status endpoint and no account; malformed XML or JSON from the same fields can also break monitoring that reads them. This is the gap left by the earlier fix for CVE-2026-6735, which escaped only the request URI and query string. The PHP CNA scores it 5.3 under CVSS 4.0; Red Hat gives it 6.1 under 3.1. Upgrade to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13 (or your distribution’s backport) and restart PHP-FPM; until then keep the status endpoint off the paths outsiders can reach and do not open it as HTML.

CVE-2026-129292 at a glance.

ComponentPHP, the FPM SAPI (sapi/fpm), the full status page’s HTML, XML and JSON output
Affected versionsPHP before 8.2.36, 8.3.0–8.3.36, 8.4.0–8.4.27 and 8.5.0–8.5.12, per the PHP CNA record and GHSA-3mg3-cr28-46gc; the 8.1 line is out of upstream support and Ubuntu patched its 8.1 package separately
Fixed inPHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 (19 November 2026; the 8.5.13 changelog entry names this GHSA and CVE under FPM, and 8.6.0 of the same day carries it). Debian php8.4 8.4.28-1~deb13u1 (DSA-6641-1) and php8.2 8.2.36-1~deb12u1 (DLA-4916-1); Ubuntu USN-9185-1 (23 November); Red Hat RHSA-2026:100821, 101251, 102300 (RHEL 10), 102226/102255/102261 (RHEL 9 streams), 101276 (RHEL 8)
SeverityPHP (CNA) and GHSA: Moderate, CVSS 4.0 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N), CWE-79; Red Hat Moderate, CVSS 3.1 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, verified); Ubuntu Medium; NVD Awaiting Analysis with the CNA score; SSVC Exploitation none, Automatable no, Technical Impact partial
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.0107 (64th percentile) on 26 November 2026
Who is exposedPHP-FPM pools with pm.status_path set, on any affected version, whose operators or monitoring open the status page with ?full: the HTML form is the script-execution path, the XML and JSON forms the monitoring-disruption path. A pool with no status path is not reached. The GHSA says restricting the endpoint to operators is not a complete mitigation, because the operator is the target
PublishedAdvisory and releases 19 November 2026, CVE record 19 November (updated 19 November); this page built 1 December 2026, last updated 1 December 2026

What it is

PHP-FPM keeps a scoreboard of its workers, and the status page renders it: with ?full each worker’s current or last request is listed with its method, URI, query string, authenticating user, script filename and timings. The earlier flaw, CVE-2026-6735 (GHSA-7qg2-v9fj-4mwv), was that the URI and query string went into that page unescaped, and its fix escaped exactly those two. This record is about the three fields it left: “The request method, authentication user and script filename are still unescaped in the per-process status output”, in all three output formats.

The username is the practical vector. The GHSA explains that a front end forwarding the Authorization: Basic header makes PHP record the decoded username in the scoreboard whether or not the script uses it, keeping up to 31 bytes of it, so one request to any ordinary PHP script on the pool plants the payload, which stays until that worker’s entry is overwritten by a later request and fires “when someone opens the status endpoint with full&html”. The script filename needs an attacker-influenced filename, which the advisory says is possible even with cgi.fix_pathinfo=0 in some setups; the request method is restricted by ordinary web servers and is not a practical HTML vector on its own. What the script can do is what any script in that origin can: read the URIs and query strings the page shows for every worker, and act with the operator’s session if the status page shares an origin with an application. XML and JSON consumers get malformed documents instead, which is the monitoring angle.

The fix escapes the three fields per output format; 8.2.36, 8.3.37, 8.4.28 and 8.5.13 shipped it on 19 November as one of eighteen CVEs fixed that day, with 8.6.0 released the same day carrying all of them. A client-side issue in the bundled status.html is tracked separately as GHSA-q8fm-p8fx-h6r6. The advisory’s own workarounds are to disable the status endpoint or prevent full HTML output, or to read the status through a validating consumer. Reporters credited are nicksvv, August829 and alimony, with Jakub Zelenka as remediation developer and Arnaud Le Blanc as reviewer. The facts are from the CVE record, the GHSA, the php.net changelog, NVD and the Debian, Ubuntu and Red Hat trackers; SUSE’s page was empty and Alpine’s refused on 1 December.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. Fixed packages are out in every readable tracker; Ubuntu’s row covers its 8.1 package, which upstream no longer maintains.

DistributionStatusFixed package
AlpineTracker unreachable on 1 December 2026 (client error); nothing inferred—
Debianphp8.2 bookworm fixed in security (DLA-4916-1), sid unfixed for the 8.2 source; php8.4 trixie fixed in security (DSA-6641-1), forky and sid fixedbookworm 8.2.36-1~deb12u1; trixie 8.4.28-1~deb13u1; sid 8.4.28-2 or later
UbuntuPriority Medium; fixed by USN-9185-1 (23 November 2026): php8.1 on 22.04, php8.3 on 24.04, php8.5 on 26.04 and 26.10; no php8.4 row22.04 8.1.2-1ubuntu2.29; 24.04 8.3.6-0ubuntu0.24.04.14; 26.04 8.5.4-0ubuntu1.6; 26.10 8.5.9-0ubuntu2.2
RHEL, Rocky, Alma, CentOS StreamModerate, CVSS 6.1; fixed: RHEL 10.3 php 8.3.37 (RHSA-2026:102300) and php8.4 8.4.28 (RHSA-2026:100821), 10.2 EUS (RHSA-2026:101251), RHEL 9 php:8.2/8.3/8.4 streams (RHSA-2026:102261/102226/102255, 23 November), RHEL 8 php:8.2 (RHSA-2026:101276); 7.4 and 8.0 streams also fixed; RHEL 6 out of support; bug 2576602php8.4-8.4.28-1.el10_3, php-8.3.37-1.el10_3, and the stream builds in the RHSAs
SUSE · Fedora · ArchSUSE’s page returned an empty body on 1 December 2026; Fedora and Arch not consulted—
Upstream PHP, docker php:*-fpm images, deb.sury.org and Remi buildsThe upstream fix appliesPHP 8.2.36, 8.3.37, 8.4.28, 8.5.13 (19 November 2026)

How to check

Three questions, in order: is an affected PHP-FPM installed, is a status path configured on any pool and where is it reachable from, and has anything already been planted in a worker’s scoreboard entry. The third is answered by reading the status page as JSON from the host itself, which is safe to do and shows the raw fields.

# 1. PHP-FPM version (8.2.36 / 8.3.37 / 8.4.28 / 8.5.13 or later are fixed; distributions backport, so compare the package)
php-fpm -v 2>/dev/null | head -1; for b in /usr/sbin/php-fpm*; do [ -x "$b" ] && "$b" -v | head -1; done
dpkg -l 'php*-fpm' 2>/dev/null | awk '/^ii/ {print $2, $3}'; rpm -q php-fpm php8.4-fpm 2>/dev/null

# 2. which pools expose a status path, and which web-server locations route it
grep -rHn "^\s*pm.status_path" /etc/php/*/fpm/pool.d/ /etc/php-fpm.d/ /etc/php-fpm.conf 2>/dev/null
grep -rHn "status" /etc/nginx/sites-enabled/ /etc/nginx/conf.d/ /etc/apache2/sites-enabled/ /etc/httpd/conf.d/ 2>/dev/null | grep -iE "location|ProxyPass|SetHandler" | head

# 3. anything planted now? read the full status as JSON from the host and look at the three fields
SCRIPT_NAME=/status SCRIPT_FILENAME=/status REQUEST_METHOD=GET QUERY_STRING=full\&json cgi-fcgi -bind -connect /run/php/php8.4-fpm.sock 2>/dev/null | sed "1,/^\r\{0,1\}$/d" | python3 -c "import sys,json; d=json.load(sys.stdin); [print(p.get('request method'), repr(p.get('user')), repr(p.get('script'))) for p in d.get('processes',[])]"

A pool with no pm.status_path in step 2 is not reached, whatever the version. One with a status path is exposed until the package in step 1 is the fixed one, and the web-server lines say whether the page is reachable from outside at all, which matters less than the GHSA’s point that the operator who opens it is the target. In step 3 a user or script value containing <, > or quotes is a planted payload; the nginx or Apache access log for the same time shows the request that carried the Basic-auth header (a 401 or 200 on an ordinary PHP URL from an address that sent Authorization), which is what a hit looks like.

How to fix it

Upgrade PHP from your distribution or the upstream release and restart PHP-FPM; workers inherit the new binary at the restart, and the scoreboard entries are cleared with it.

# Debian / Ubuntu
sudo apt update && sudo apt install --only-upgrade 'php8.4-*' 'php8.3-*' 'php8.2-*' 'php8.1-*' 2>/dev/null && sudo systemctl restart 'php*-fpm'

# RHEL / Rocky / Alma
sudo dnf update 'php*' && sudo systemctl restart php-fpm

# docker: pull the 19 November images and recreate the containers
docker pull php:8.4-fpm && docker compose up -d
php-fpm -v | head -1

If the upgrade has to wait, the advisory’s workarounds apply: comment out pm.status_path on pools that do not need it, and on those that do, deny the full HTML form at the web server and let monitoring read JSON through something that validates it. Restricting the status location to operator addresses is still worth doing, but the GHSA is explicit that it is not a complete mitigation, since the payload is planted by an outsider and detonated by the operator. What not to do: do not assume a reverse proxy that strips Authorization for anonymous paths protects you, since the script-filename field is a second vector; and do not treat “XSS, 5.3” as a monitoring-only nuisance on a host where the status page shares an origin with an admin application.

# nginx: deny the full HTML form while leaving JSON for monitoring
location = /status {
    allow 10.0.0.0/8; deny all;
    if ($args ~* "full") { set $deny 1; }
    if ($args ~* "json") { set $deny 0; }
    if ($deny = 1) { return 403; }
    include fastcgi_params; fastcgi_pass unix:/run/php/php8.4-fpm.sock;
}
# or simply turn the page off on the pool until the upgrade
sudo sed -i "s/^\s*pm.status_path/;pm.status_path/" /etc/php/8.4/fpm/pool.d/www.conf && sudo systemctl restart php8.4-fpm

The nginx fragment is our reading of the advisory’s “prevent full HTML output”, not a vendor-supplied rule; test it against your own status URL before relying on it.

Sources

  • CVE-2026-129292 at CVE.org — the PHP CNA record (19 November 2026): the three unescaped fields, the Basic-auth path, the status-endpoint precondition, the affected ranges, CVSS 4.0 5.3, CWE-79, the credits
  • GHSA-3mg3-cr28-46gc — “PHP-FPM status endpoint XSS via unescaped user and script fields”: Moderate, the relation to CVE-2026-6735 (GHSA-7qg2-v9fj-4mwv), the 31-byte scoreboard field, the full&html trigger, the workarounds and their limits, the client-side status.html issue GHSA-q8fm-p8fx-h6r6
  • PHP 8 changelog — 8.5.13 and 8.6.0 (19 November 2026), FPM: “Fixed GHSA-3mg3-cr28-46gc (PHP-FPM status endpoint XSS via unescaped user and script fields). (CVE-2026-129292)”; the 8.2.36, 8.3.37 and 8.4.28 headings were not in the page as served
  • NVD entry — Awaiting Analysis; published 19 November 2026; the CNA’s CVSS 4.0 vector; CWE-79; SSVC; one CPE string with the four ranges
  • Distribution trackers: Debian (DSA-6641-1, DLA-4916-1) · Ubuntu (Medium; USN-9185-1) · Red Hat (Moderate 6.1; the RHSAs above; bug 2576602) · SUSE (empty page) · Alpine (client error)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.0107 (percentile 0.643) on 26 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.