What changed
November 5, 2026: FrankenPHP 1.13.5 fixes 17 vulnerabilities, most seriously a php_server path-splitting flaw that could execute an uploaded non-PHP file as PHP when an attacker can place a file under the document root (GHSA-j99q-3wr8-xj43). Other fixes include an open redirect, HTTP/2 Host spoofing, slow-request PHP-thread exhaustion, startup crash, negative exit-status panic, path-based access-rule bypass and client-header overrides of server-set environment variables. It bundles Caddy 2.11.9 and Mercure 1.1.6. The project's release notes strongly recommend upgrading. Prior October 1.13.4 and earlier fixes remain documented below.
October 26, 2026: FrankenPHP 1.13.4 patches seven vulnerabilities, including a high-severity worker-mode crash triggered by an unauthenticated request that disconnects while a new header name is queued (only 1.13.2/1.13.3 affected). Other fixes address a putenv use-after-free, temporary-file use-after-free across worker requests, leaked per-request environment variables, retained response headers and strtok state, a double free after non-form POST, and a hung request after fatal worker startup. Docker and Windows builds patch bundled Brotli against CVE-2026-111497; Windows and macOS binaries use Go 1.27.3. Upgrade strongly recommended. The October 21 1.13.2 release bundles PHP2Shell-patched PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 Docker images and 8.5.12 static binaries. Separately it fixes four FrankenPHP vulnerabilities: shared temporary embedded-app extraction could allow a local user to inject executable code (GHSA-6q3j-62j9-f9hh); disconnected clients could exhaust the PHP thread queue (GHSA-fq24-r53r-xcx3); cyclic arrays could crash PHP-to-Go conversion (GHSA-ccgp-ch9h-533f); and worker errors could leak prior request information (GHSA-4gfw-9v29-gp9h). Static binaries now use static-php-cli v3, require glibc 2.28 for -gnu (previously 2.17), and no longer publish a prebuilt Intel macOS binary. PHP2Shell itself is already covered by dossier #519.
Earlier background: FrankenPHP 1.13.0 released October 4, 2026, fixes five vulnerabilities including a high-severity Windows SCRIPT_FILENAME document-root escape, high-severity header spoofing via dot-form header names, CGI path-segment parsing that could execute the wrong PHP file, process-environment leakage between threads through putenv(), and a crafted-array crash in frankenphp_log(). It upgrades to Caddy 2.11.7, includes Mercure 1.0, and validates new configurations before swapping them into a running server. New default header-size/timeouts, thread accounting and Mercure configuration rules can require deployment changes. On October 16, FrankenPHP 1.13.1 fixed seven classes of regression or compatibility problem after 1.13.0: worker bootstrap REQUEST_URI for Nextcloud, correct php-cli argv for Symfony Console, the documented six failed-boot retries for Caddy-configured workers, HTTP 500s during graceful shutdown, unhealthy-thread restart segfaults, HTTP/2 request-body shutdown process crashes, and a gnupg extension double-fork problem. Static builds now bundle deepclone for faster Symfony cache generation. Its sample Mercure Caddyfile excludes the hub from compression because compressing private updates with attacker-influenced data can enable BREACH-style attacks; the php-server --mercure path was not affected. FrankenPHP 1.13.3 released October 24 fixes worker lookup for symlinked document roots, crashes with extensions installing asynchronous signal handlers such as dd-trace-php, and illegal-instruction crashes on older CPUs caused by musl static builds compiled with SHA-NI/AVX-512.
Why it matters
The 1.13.5 high-severity flaw can turn an uploaded file under the document root into executable PHP through malformed split-extension paths, making upload location and server configuration a critical boundary. Other fixes affect host-based access checks, PHP thread availability and environment-variable trust. Update deployed binaries and images to 1.13.5, validate configuration and test application routing and uploads. No evidence of active exploitation was established in the reviewed upstream release.
The new 1.13.4 security advisory elevates the urgency for operators on 1.13.2/1.13.3: a single unauthenticated request can crash a worker-mode server under specific timing, and persistent worker state can leak between users or trigger memory-safety faults. The release also repairs bundled dependency exposure. A PHP application server runs untrusted HTTP requests and often multiplexes multiple application workers in one process. The security fixes affect isolation, path resolution and request trust boundaries, while the reload change prevents invalid config from replacing a working service. Operators must balance patch urgency with real compatibility changes: worker thread budgets, HTTP header treatment and Mercure auth config can alter behaviour after an upgrade. The rapid 1.13.1 follow-up changes the safe upgrade target: operators who delayed patching because 1.13.0 broke worker mode or CLI tooling now have targeted fixes, while users of 1.13.0 should upgrade. The Mercure sample correction also requires configuration scrutiny rather than assuming compression of real-time private events is harmless.
November 5: 1.13.5 closes 17 vulnerabilities
Upstream reports 17 security fixes. High-severity GHSA-j99q-3wr8-xj43 allows php_server to treat an uploaded non-PHP file as executable PHP via split-extension path confusion, provided an attacker can upload beneath the document root. Additional fixes cover open redirects, HTTP/2 host spoofing, request-body slowdowns that consume PHP threads, a PHP startup crash, negative exit-code panic, dot-segment and encoded-slash routing bypasses, and Authorization-derived overrides of server-set REMOTE_USER. FrankenPHP 1.13.5 bundles Caddy 2.11.9 and Mercure 1.1.6; maintainers strongly recommend upgrading. Exploitability depends on deployment and upload controls.
October 26 security release: seven FrankenPHP flaws
FrankenPHP 1.13.4 fixes a high-severity worker-mode crash when an unauthenticated client sends a newly encountered header name and disconnects before handling; only 1.13.2 and 1.13.3 have this specific bug (GHSA-5f4m-ff4w-g458). Six other fixes cover putenv use-after-free (GHSA-rgpj-f2qx-xwhf), worker temporary-file use-after-free (GHSA-cm3q-jw2q-9rh5), cross-request environment leakage (GHSA-8386-64gm-3m8q), stale response headers/strtok/URL rewriting state (GHSA-pmvg-8483-mw84), a worker-loop double free under USE_ZEND_ALLOC=0 (GHSA-h764-4wh7-m7j2), and a stuck dequeued request after fatal worker startup (GHSA-x6j6-qv7w-fq3c). The project strongly recommends upgrading; no in-the-wild exploitation claim was established.
Bundled Brotli and Go fixes require image/binary refresh
The 1.13.4 Docker and Windows builds include patched Brotli against CVE-2026-111497, while static builds had bundled Brotli 1.2.1 since 1.13.2. Windows and macOS release binaries now use Go 1.27.3, fixing Go standard-library issues including an HTTP/2 server crash. Operators should replace deployed images/binaries, not just change a PHP dependency version. Mercure 1.1.5 and several embedded CLI/worker fixes are included.
Five distinct security issues affect request boundaries
The release closes document-root escape on Windows, dot-header spoofing, unsafe CGI path splitting, process-wide environment leakage and a crafted log-array crash. Two are classified high by the project.
Reload validation prevents avoidable outages
FrankenPHP now rejects invalid configuration before replacing the running config; the project exposes a Validate() API for library users.
Caddy and Mercure introduce operational changes
Caddy 2.11.7 adds Slowloris protection, URLPattern matching, Incremental streaming and SSE fixes. Mercure 1.0 changes issuer binding and hot-reload URL conventions.
Check thread and header defaults before deploying
num_threads now counts ordinary-request threads separately from worker threads. A too-low max_threads can fail startup, and Caddy now defaults to 16 KiB request headers and one-minute stalled-read/write timeouts.
October 16 follow-up: 1.13.1 restores worker and CLI compatibility
1.13.0 caused Nextcloud worker bootstrap to redirect and exit when REQUEST_URI was missing, and php-cli shifted argv so Symfony Console commands failed. 1.13.1 restores the worker bootstrap script path, native CLI argv behaviour and the documented default of six worker boot retries. Operators should regression-test these paths before rolling out.
Crash, shutdown and Mercure compression follow-ups
The patch fixes a whole-process segfault on unhealthy thread restart, a crash when HTTP/2 request-body draining outlives a finished request, and 500s for in-flight requests during graceful shutdown. Its sample Caddyfile disables compression for the Mercure hub: compressed private updates mixed with attacker-influenced data could permit BREACH-style information leakage. The built-in php-server --mercure command was not affected.
FrankenPHP 1.13.2 patches four server flaws and changes static build requirements
The October 21 1.13.2 release bundles PHP2Shell-patched PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 Docker images and 8.5.12 static binaries. Separately it fixes four FrankenPHP vulnerabilities: shared temporary embedded-app extraction could allow a local user to inject executable code (GHSA-6q3j-62j9-f9hh); disconnected clients could exhaust the PHP thread queue (GHSA-fq24-r53r-xcx3); cyclic arrays could crash PHP-to-Go conversion (GHSA-ccgp-ch9h-533f); and worker errors could leak prior request information (GHSA-4gfw-9v29-gp9h). Static binaries now use static-php-cli v3, require glibc 2.28 for -gnu (previously 2.17), and no longer publish a prebuilt Intel macOS binary. PHP2Shell itself is already covered by dossier #519.
1.13.3 fixes three operational regressions
The October 24 bugfix release restores worker matching for symlinked document roots with resolve_root_symlink false, reapplies SA_ONSTACK to extension-installed signal handlers to avoid goroutine-stack crashes, and builds musl binaries for baseline CPUs rather than the build host. Operators on 1.13.x with these configurations should evaluate the patched release.