Updated 6 Nov 2026: Nov 5 FrankenPHP 1.13.5 fixes 17 vulnerabilities, including uploaded-file PHP execution and host/path/auth bypasses; bundles Caddy 2.11.9.

Key details

  1. FrankenPHP 1.13.5 released November 5, 2026 and patches 17 vulnerabilities including uploaded-file PHP execution.
  2. FrankenPHP v1.13.4 released October 26, 2026; seven server security flaws fixed.
  3. High-severity unauthenticated worker-mode crash affects only 1.13.2/1.13.3; other issues include cross-request leaks and use-after-free.
  4. Bundled Brotli and Go 1.27.3 security updates affect Docker/Windows/macOS binaries.
  5. FrankenPHP v1.13.0 was released October 4, 2026.
  6. Five security vulnerabilities are fixed, two rated high by the maintainers.
  7. A Windows SCRIPT_FILENAME document-root escape and dot-form header spoofing are among the high-severity issues.
  8. Configuration reloads validate before replacing the running service.
  9. Caddy 2.11.7 and Mercure 1.0 are bundled.
  10. Thread accounting, header limits, timeouts and Mercure auth rules may require migration.
  11. FrankenPHP 1.13.1 released October 16, 2026, is recommended for all 1.13.0 users.
  12. Nextcloud worker startup and Symfony Console php-cli argv regressions are repaired.
  13. Two whole-process crash paths and graceful-shutdown 500s are fixed.
  14. The Mercure sample Caddyfile disables hub compression to avoid BREACH-style risk.
  15. FrankenPHP 1.13.2 patches four server flaws and changes static build requirements.
  16. FrankenPHP 1.13.3 fixes symlinked worker roots, asynchronous signal-handler crashes and musl SIGILL on CPUs without SHA-NI.

What builders should take away

  1. Upgrade to FrankenPHP 1.13.5, keep untrusted uploads outside executable document roots, and regression-test route, host and authentication rules.
  2. Upgrade FrankenPHP worker-mode deployments from 1.13.2/1.13.3 promptly and test with representative traffic.
  3. Refresh Docker images and static/native binaries to inherit Brotli and Go patches; inspect worker request isolation and environment state.
  4. Prioritise patching exposed FrankenPHP instances, especially on Windows and with untrusted HTTP inputs.
  5. Test thread budgets, worker counts and Caddy header/timeout behaviour in staging.
  6. Review Mercure issuer configuration and hot-reload client URLs before deployment.
  7. Use safe reload validation and keep rollback plans for worker-mode production workloads.
  8. If using FrankenPHP 1.13.0, upgrade to 1.13.1 and test Nextcloud worker bootstrap, Symfony CLI commands and graceful shutdown.
  9. If serving private Mercure updates with a custom Caddyfile, review whether the hub is being compressed alongside attacker-influenced data.
  10. Use FrankenPHP 1.13.2 and check embedded apps, worker isolation, glibc version and static-build pipeline.

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.

What to watch next

  • Downstream FrankenPHP image rollouts and any reported exploitation of the 1.13.5 path-splitting vulnerability.
  • Additional 1.13.x worker-mode security advisories, downstream image rebuilds and evidence of exploitation.
  • Further security advisories or regressions from 1.13.0.
  • Downstream hosting/image rebuild adoption.
  • Mercure 1.0 and Caddy default-compatibility reports.
  • Further v1.13.x regressions and downstream container-image adoption.
  • Check subsequent official rollout, adoption and security guidance for FrankenPHP 1.13.2 patches four server flaws and changes static build requirements.

Still unclear

  • Severity and exploitability vary by deployment platform and configuration.
  • No widespread exploitation was established by the release notes.
  • Configuration defaults can be overridden; operators must audit actual effective settings.
  • Release notes describe fixes and scenarios, but do not establish exploitation of the Mercure compression side-channel in production.

Sources

Direct reading behind this dossier.

6 sources
FrankenPHP v1.13.1 release notes
FrankenPHP primary release

Regression fixes, crash paths, Symfony/Nextcloud compatibility and Mercure sample compression warning.

FrankenPHP v1.13.4 security release
FrankenPHP maintainers primary_security_release

Seven security fixes, Brotli/Go rebuilds and upgrade guidance; verified via GitHub Releases API.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment