Update dunglas/frankenphp Docker tag to v1.13.4 #267

Merged
renovate_bot merged 1 commit from renovate/dunglas-frankenphp-1.x into master 2026-10-27 10:37:17 +00:00
renovate_bot commented 2026-10-26 21:42:24 +00:00 (Migrated from jonasled.dev)

This MR contains the following updates:

Package Type Update Change
dunglas/frankenphp (source) final patch 1.13.3-php8.5.12-alpine → 1.13.4-php8.5.12-alpine

Release Notes

php/frankenphp (dunglas/frankenphp)

v1.13.4

Compare Source

FrankenPHP 1.13.4 is a security release. It fixes 7 vulnerabilities in FrankenPHP, including a high-severity one that let a single unauthenticated request crash the whole process in worker mode, and several cross-request leaks and memory safety issues in worker mode. Docker images and Windows builds now ship a Brotli library patched against CVE-2026-111497 (Node2Shell), and Windows and macOS binaries are now built with Go 1.27.3, which fixes vulnerabilities in the Go standard library. Upgrading is strongly recommended.

🔒 Security
  • High, worker mode: A client that sent a header name FrankenPHP hadn't seen recently and reset the connection before the request was handled crashed the whole process. Only 1.13.2 and 1.13.3 are affected (GHSA-5f4m-ff4w-g458).
  • Use-after-free: A putenv() call from a shutdown function, a destructor or a session handler left a dangling pointer, and the next script on the thread crashed the process or read the previous request's value on its first getenv() (GHSA-rgpj-f2qx-xwhf).
  • Use-after-free, worker mode: An SplTempFileObject (or SplFileObject on php://temp) kept across requests, on purpose or in uncollected garbage, had its stream freed at the start of the next request (GHSA-cm3q-jw2q-9rh5).
  • Worker mode: Per-request environment variables (Caddy env with request placeholders, route-specific env blocks, WithRequestEnv()) leaked into later requests through getenv() and $_SERVER. $_ENV now only contains the worker's environment (GHSA-8386-64gm-3m8q).
  • Worker mode: http_get_last_response_headers() no longer returns the upstream response headers fetched by a previous request (GHSA-pmvg-8483-mw84). As hardening, the strtok() state and the URL rewriter variables are also reset between requests, as PHP does at the end of a script, although PHP doesn't document them as request-scoped.
  • Worker mode: A worker script ending its own loop right after a JSON or other non-form POST freed the same pointer twice. It only had a visible effect with USE_ZEND_ALLOC=0 (GHSA-h764-4wh7-m7j2).
  • Worker mode: A fatal error during worker request startup left the dequeued request waiting forever (GHSA-x6j6-qv7w-fq3c).
  • Brotli, CVE-2026-111497 (Node2Shell): Docker images ship a patched Brotli: the distribution's security update on Debian Trixie and Alpine, and Brotli 1.2.1 built from source on Debian Bookworm. Windows builds ship Brotli 1.2.1, including the library used by PHP's curl extension. Static binaries have bundled Brotli 1.2.1 since 1.13.2 (GHSA-p746-jj3f-94p8) by @​dunglas in #​2767, #​2777 and #​2782.
  • Go: Windows and macOS binaries were built with Go 1.27.0, which is affected by several standard library vulnerabilities, including an HTTP/2 server crash (GO-2026-6617). All release binaries are now built with the latest Go patch release, 1.27.3 by @​dunglas in #​2776.

Apart from the header crash, which was introduced in 1.13.2 by a change in a dependency, none of the FrankenPHP vulnerabilities fixed in this release were exploitable in common setups, including Symfony and Laravel apps. Triggering them requires specific application code, such as calling putenv() from a shutdown function, or advanced, non-default configuration, such as using request-specific Caddy placeholders in env directives.

FrankenPHP has also been selected for Anthropic's OSS Scanner program, which regularly scans the project for vulnerabilities (anthropics/oss-scanner#1067).

🐛 Bug Fixes
⚡ Performance Improvements
📖 Documentation
  • Document umask() and setlocale() as process-wide state that persists across worker requests and affects concurrent requests by @​dunglas in #​2779.
  • Update translations in #​2769 and #​2780.

💖 New Contributors

Full Changelog: https://github.com/php/frankenphp/compare/v1.13.3...v1.13.4


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Mend Renovate CLI.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [dunglas/frankenphp](https://frankenphp.dev) ([source](https://github.com/php/frankenphp)) | final | patch | `1.13.3-php8.5.12-alpine` → `1.13.4-php8.5.12-alpine` | --- ### Release Notes <details> <summary>php/frankenphp (dunglas/frankenphp)</summary> ### [`v1.13.4`](https://github.com/php/frankenphp/releases/tag/v1.13.4) [Compare Source](https://github.com/php/frankenphp/compare/v1.13.3...v1.13.4) FrankenPHP 1.13.4 is a security release. It fixes 7 vulnerabilities in FrankenPHP, including a high-severity one that let a single unauthenticated request crash the whole process in worker mode, and several cross-request leaks and memory safety issues in worker mode. Docker images and Windows builds now ship a Brotli library patched against CVE-2026-111497 (Node2Shell), and Windows and macOS binaries are now built with Go 1.27.3, which fixes vulnerabilities in the Go standard library. Upgrading is strongly recommended. ##### 🔒 Security - **High, worker mode:** A client that sent a header name FrankenPHP hadn't seen recently and reset the connection before the request was handled crashed the whole process. Only 1.13.2 and 1.13.3 are affected ([GHSA-5f4m-ff4w-g458](https://github.com/php/frankenphp/security/advisories/GHSA-5f4m-ff4w-g458)). - **Use-after-free:** A `putenv()` call from a shutdown function, a destructor or a session handler left a dangling pointer, and the next script on the thread crashed the process or read the previous request's value on its first `getenv()` ([GHSA-rgpj-f2qx-xwhf](https://github.com/php/frankenphp/security/advisories/GHSA-rgpj-f2qx-xwhf)). - **Use-after-free, worker mode:** An `SplTempFileObject` (or `SplFileObject` on `php://temp`) kept across requests, on purpose or in uncollected garbage, had its stream freed at the start of the next request ([GHSA-cm3q-jw2q-9rh5](https://github.com/php/frankenphp/security/advisories/GHSA-cm3q-jw2q-9rh5)). - **Worker mode:** Per-request environment variables (Caddy `env` with request placeholders, route-specific `env` blocks, `WithRequestEnv()`) leaked into later requests through `getenv()` and `$_SERVER`. `$_ENV` now only contains the worker's environment ([GHSA-8386-64gm-3m8q](https://github.com/php/frankenphp/security/advisories/GHSA-8386-64gm-3m8q)). - **Worker mode:** `http_get_last_response_headers()` no longer returns the upstream response headers fetched by a previous request ([GHSA-pmvg-8483-mw84](https://github.com/php/frankenphp/security/advisories/GHSA-pmvg-8483-mw84)). As hardening, the `strtok()` state and the URL rewriter variables are also reset between requests, as PHP does at the end of a script, although PHP doesn't document them as request-scoped. - **Worker mode:** A worker script ending its own loop right after a JSON or other non-form `POST` freed the same pointer twice. It only had a visible effect with `USE_ZEND_ALLOC=0` ([GHSA-h764-4wh7-m7j2](https://github.com/php/frankenphp/security/advisories/GHSA-h764-4wh7-m7j2)). - **Worker mode:** A fatal error during worker request startup left the dequeued request waiting forever ([GHSA-x6j6-qv7w-fq3c](https://github.com/php/frankenphp/security/advisories/GHSA-x6j6-qv7w-fq3c)). - **Brotli, CVE-2026-111497 (Node2Shell):** Docker images ship a patched Brotli: the distribution's security update on Debian Trixie and Alpine, and Brotli 1.2.1 built from source on Debian Bookworm. Windows builds ship Brotli 1.2.1, including the library used by PHP's curl extension. Static binaries have bundled Brotli 1.2.1 since 1.13.2 ([GHSA-p746-jj3f-94p8](https://github.com/php/frankenphp/security/advisories/GHSA-p746-jj3f-94p8)) by [@&#8203;dunglas](https://github.com/dunglas) in [#&#8203;2767](https://github.com/php/frankenphp/pull/2767), [#&#8203;2777](https://github.com/php/frankenphp/pull/2777) and [#&#8203;2782](https://github.com/php/frankenphp/pull/2782). - **Go:** Windows and macOS binaries were built with Go 1.27.0, which is affected by several standard library vulnerabilities, including an HTTP/2 server crash ([GO-2026-6617](https://pkg.go.dev/vuln/GO-2026-6617)). All release binaries are now built with the latest Go patch release, 1.27.3 by [@&#8203;dunglas](https://github.com/dunglas) in [#&#8203;2776](https://github.com/php/frankenphp/pull/2776). Apart from the header crash, which was introduced in 1.13.2 by a change in a dependency, none of the FrankenPHP vulnerabilities fixed in this release were exploitable in common setups, including Symfony and Laravel apps. Triggering them requires specific application code, such as calling `putenv()` from a shutdown function, or advanced, non-default configuration, such as using request-specific Caddy placeholders in `env` directives. FrankenPHP has also been selected for [Anthropic's OSS Scanner](https://red.anthropic.com/oss-scanner/) program, which regularly scans the project for vulnerabilities ([anthropics/oss-scanner#1067](https://github.com/anthropics/oss-scanner/pull/1067)). ##### 🐛 Bug Fixes - **Embed:** `php-cli` now runs extension-less scripts of the embedded app, so `./my-app php-cli bin/console` works as documented by [@&#8203;dunglas](https://github.com/dunglas) in [#&#8203;2765](https://github.com/php/frankenphp/pull/2765). - **Static builds:** Release builds now push the `static-builder-{musl,gnu}-{version}` image tags, which 1.13.3 didn't by [@&#8203;strikerz5](https://github.com/strikerz5) in [#&#8203;2758](https://github.com/php/frankenphp/pull/2758). - **PHP 8.6:** Restore compatibility with the development branch by [@&#8203;henderkes](https://github.com/henderkes) in [#&#8203;2770](https://github.com/php/frankenphp/pull/2770). - Upgrade to [Mercure 1.1.5](https://github.com/dunglas/mercure/releases/tag/v1.1.5) by [@&#8203;dunglas](https://github.com/dunglas) in [#&#8203;2768](https://github.com/php/frankenphp/pull/2768). ##### ⚡ Performance Improvements - **Worker mode:** Avoid an allocation per request when deriving `SCRIPT_NAME` for explicitly assigned workers by [@&#8203;andreybolonin](https://github.com/andreybolonin) in [#&#8203;2755](https://github.com/php/frankenphp/pull/2755). - **Worker mode:** Avoid buffering output written while a worker starts by [@&#8203;andreybolonin](https://github.com/andreybolonin) in [#&#8203;2756](https://github.com/php/frankenphp/pull/2756). ##### 📖 Documentation - Document `umask()` and `setlocale()` as process-wide state that persists across worker requests and affects concurrent requests by [@&#8203;dunglas](https://github.com/dunglas) in [#&#8203;2779](https://github.com/php/frankenphp/pull/2779). - Update translations in [#&#8203;2769](https://github.com/php/frankenphp/pull/2769) and [#&#8203;2780](https://github.com/php/frankenphp/pull/2780). #### 💖 New Contributors - [@&#8203;andreybolonin](https://github.com/andreybolonin) made their first contribution in [#&#8203;2755](https://github.com/php/frankenphp/pull/2755) - [@&#8203;strikerz5](https://github.com/strikerz5) made their first contribution in [#&#8203;2758](https://github.com/php/frankenphp/pull/2758) - [@&#8203;opctim](https://github.com/opctim) made their first contribution in [#&#8203;2729](https://github.com/php/frankenphp/pull/2729) **Full Changelog**: <https://github.com/php/frankenphp/compare/v1.13.3...v1.13.4> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate_bot commented 2026-10-26 21:42:35 +00:00 (Migrated from jonasled.dev)

mentioned in issue #1

mentioned in issue #1
jonasled (Migrated from jonasled.dev) scheduled this pull request to auto merge when all checks succeed 2026-10-26 21:42:43 +00:00
jonasled (Migrated from jonasled.dev) merged commit d3c5bc03e3 into master 2026-10-27 10:37:17 +00:00
jonasled commented 2026-10-27 10:37:21 +00:00 (Migrated from jonasled.dev)

mentioned in commit d3c5bc03e3

mentioned in commit d3c5bc03e36fa36b7f78b8e6838385fa5faa5249
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonasled/nextcloud!267
No description provided.