Repository navigation
Move FrankenPHP to 1.14.0 (PHP security releases) - #19
Merged
Merged
Conversation
The pinned 1.13.5 images were last rebuilt upstream on 2026-11-05, so they still embed PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12, and our weekly rebuild can't move them. 1.14.0 (by way of 1.13.6) embeds the 2026-11-19 PHP security releases, 8.2.36, 8.3.37, 8.4.28 and 8.5.13, which the PHP project rates up to critical: several use-after-frees that can lead to remote code execution (session handling, the timezone cache, magic method backtraces) and a PHAR signature bypass. The PHP-FPM and PHP-CGI advisories in the same release don't apply to the FrankenPHP SAPI. The 1.13.6 fixes that apply to these images: PHP system calls such as stream_select() no longer fail intermittently with EINTR from Go's preemption signal, and a PHP thread that segfaults while FrankenPHP is PID 1 (as in these containers) now exits with status 2 instead of hanging. There are no new FrankenPHP security advisories since 1.13.5, and Caddy stays at 2.11.9. 1.14.0's breaking change is that PHP 8.6 images drop mbstring and PECL. It doesn't apply: these images stay on 8.2-8.5, whose upstream images still ship mbstring (checked). php_server's file_server subdirective now takes a block of options; "file_server off" still works, and docker-configure doesn't use it. The upstream Caddyfile is byte-identical to 1.13.5's, so the Caddyfile rewrites and their build checks are unchanged, as are the Alpine base (3.24.4) and the frankenphp binary path. Bumps FRANKENPHP_VERSION in the four base Dockerfiles; the dev and wordpress images inherit it. The cli images don't use FrankenPHP and are unaffected. All 16 frankenphp images were built and passed smoke-test.sh locally (amd64).
Member
Author
|
Review round 1 (fresh-context review, with the code-review skill) The diff (the version line in four Dockerfiles) has no defects. The reviewer checked the PR's claims against primary sources:
Findings:
No code changes this round. |
michaelaguiar
marked this pull request as ready for review
November 22, 2026 23:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
FRANKENPHP_VERSIONmoves from 1.13.5 to 1.14.0 inphp/8.{2,3,4,5}/frankenphp/Dockerfile. The dev, wordpress and wordpress-dev images inherit it. Nothing else changes: the cli images are built on the officialphp:*-cli-alpineimages, not FrankenPHP.Alpine (3.24.4) and Caddy (v2.11.9) are unchanged.
What 1.14.0 fixes or changes for these images
PHP security releases (the main reason for this bump). Upstream last rebuilt the
1.13.5-php8.x-alpinetags on 2026-11-17, before the 11-19 PHP releases, so the weekly rebuild keeps them on the old PHP versions. 1.14.0, by way of 1.13.6, embeds the 2026-11-19 PHP security releases. The PHP project rates the worst of them critical:last_fatal_error_backtraceafter shutdown (CVE-2026-129182, 8.5 only), and session handling (CVE-2026-115560, CVE-2026-126714, and CVE-2026-129481 on 8.3 and up).FrankenPHP fixes from 1.13.6 that apply here:
stream_select()no longer fail intermittently withEINTRbecause of Go'sSIGURGpreemption signal.No FrankenPHP security advisories were published after 1.13.5.
Breaking change (doesn't apply): like the official PHP 8.6 images, FrankenPHP's 8.6 images no longer include
mbstringor PECL. These images stay on 8.2–8.5, andmbstringis still loaded in the embedded PHP (checked on 8.2 and 8.5).New feature:
php_server'sfile_serversubdirective now takes a block offile_serveroptions, such asprecompressed.file_server offstill works, anddocker-configureonly usesfile_serverinside its ownhandleblocks. The upstream/etc/caddy/Caddyfileis byte-identical to 1.13.5's, so the Dockerfile's Caddyfile rewrites and their build checks didn't need any changes.Checked
dunglas/frankenphp:1.14.0-php8.{2,3,4,5}-alpinetags exist on Docker Hub, for amd64 and arm64.--build-context, the same way CI does it. Each image then passed.github/scripts/smoke-test.shwith its variant and PHP version: healthy, serving PHP through the frankenphp SAPI, expected extensions, non-root,/storage/PHP refused, snippets rendered, composer runnable.frankenphp php-cliversion check passed on every build.