Skip to content

Move FrankenPHP to 1.13.4 (security release) - #17

Merged
michaelaguiar merged 1 commit into
mainfrom
frankenphp-1.13.4
Oct 26, 2026
Merged

michaelaguiar merged 1 commit into
mainfrom
frankenphp-1.13.4

Conversation

@michaelaguiar

@michaelaguiar michaelaguiar commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Bumps FRANKENPHP_VERSION from 1.13.2 to 1.13.4 in php/{8.2,8.3,8.4,8.5}/frankenphp/Dockerfile. The dev, wordpress and wordpress-dev images build FROM those, so all 16 frankenphp tags pick it up.

FrankenPHP 1.13.4 is a security release: it fixes a high-severity worker-mode crash that affects 1.13.2 and 1.13.3, a putenv() use-after-free that applies outside worker mode too, and several worker-mode cross-request leaks. Its Alpine base also ships patched Brotli (CVE-2026-111497). Our builds only run apk add, never apk upgrade, so we don't get that fix any other way.

Testing

  • Built php/8.4/frankenphp locally: frankenphp version reports v1.13.4 / PHP 8.4.27, brotli-libs-1.2.1-r0, and .github/scripts/smoke-test.sh base passes.
  • CI smoke-tests every image before tagging it.

ALI-1213

1.13.4 fixes seven FrankenPHP advisories, including a high-severity crash
in worker mode that one unauthenticated request can trigger (only 1.13.2
and 1.13.3 are affected; we were on 1.13.2), a putenv() use-after-free
that applies outside worker mode too, and cross-request leaks in worker
mode. Its Alpine base also ships patched Brotli (CVE-2026-111497), which
our builds don't get otherwise because they never run apk upgrade.

Bumps FRANKENPHP_VERSION in the four base Dockerfiles; the dev and
wordpress images inherit it.
@michaelaguiar

Copy link
Copy Markdown
Member Author

Review round 1 (fresh-context reviewer): clean, no findings.

The reviewer confirmed:

  • Only the four base Dockerfiles pin a FrankenPHP version. dev/wordpress/wordpress-dev build FROM the ghcr base tags, so all 16 frankenphp tags pick up 1.13.4. No other pin, digest or 1.13.2 mention exists in the README or workflow.
  • dunglas/frankenphp:1.13.4-php{8.2,8.3,8.4,8.5}-alpine exist for both linux/amd64 and linux/arm64.
  • The 1.13.4 base ships brotli-libs-1.2.1-r0; the 1.13.2 base had 1.2.0-r1.
  • An independent local build of 8.4 passed the Caddyfile/PHP-version guards and smoke-test.sh base.

Not run locally: 8.2/8.3/8.5 and the derived variants. The post-merge build smoke-tests every image before tagging it. PR CI (gitleaks) passes.

@michaelaguiar
michaelaguiar merged commit f321bcc into main Oct 26, 2026
2 checks passed
@michaelaguiar
michaelaguiar deleted the frankenphp-1.13.4 branch October 26, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant