Skip to content

Move FrankenPHP to 1.13.5 (security release) - #18

Merged
michaelaguiar merged 1 commit into
mainfrom
frankenphp-1.13.5
Nov 14, 2026
Merged

michaelaguiar merged 1 commit into
mainfrom
frankenphp-1.13.5

Conversation

@michaelaguiar

Copy link
Copy Markdown
Member

1.13.5 fixes 17 FrankenPHP advisories. The most severe (High) let
php_server run an uploaded non-PHP file as PHP, for instance
/uploads/photos.php.php/avatar.jpg. Several others hit the default
php_server setup: an open redirect, HTTP/2 Host spoofing, a crash with
PHP's default max_input_vars, and slow request bodies that block every
PHP thread (fixed by the Caddy 2.11.9 it ships).

Its one breaking change only affects worker mode, which these images
don't enable.

Bumps FRANKENPHP_VERSION in the four base Dockerfiles; the dev and
wordpress images inherit it. All 16 images were built and passed
smoke-test.sh locally (amd64).

1.13.5 fixes 17 FrankenPHP advisories. The most severe (High) let
php_server run an uploaded non-PHP file as PHP, for instance
/uploads/photos.php.php/avatar.jpg. Several others hit the default
php_server setup: an open redirect, HTTP/2 Host spoofing, a crash with
PHP's default max_input_vars, and slow request bodies that block every
PHP thread (fixed by the Caddy 2.11.9 it ships).

Its one breaking change only affects worker mode, which these images
don't enable.

Bumps FRANKENPHP_VERSION in the four base Dockerfiles; the dev and
wordpress images inherit it. All 16 images were built and passed
smoke-test.sh locally (amd64).
@michaelaguiar

Copy link
Copy Markdown
Member Author

Review round 1 (fresh-context reviewer + code-review high): no findings.

Confirmed by the reviewer:

  • The four one-line bumps cover every FrankenPHP image; dev/wordpress/wordpress-dev inherit the base tag, the CLI images contain no FrankenPHP. No other 1.13.x/Caddy version references or pinned digests in the repo; README/workflow wording is still accurate.
  • dunglas/frankenphp:1.13.5-php{8.2,8.3,8.4,8.5}-alpine exist.
  • The Caddyfile sed edits are guarded by greps that fail the build if upstream's Caddyfile changed shape; they passed on 1.13.5.
  • docker-configure's respond 404 handle blocks (PHP_DENY_PATHS, extension denial, the /storage/ .php guard, PHP_NO_EXEC_PATHS) run before php_server, so 1.13.5's php_server changes (404 "No input file specified", relative trailing-slash redirect, 413, dot-segment handling) don't change them.
  • The worker-mode breaking change doesn't apply (worker mode isn't enabled).

Local verification by the author: all 16 frankenphp images built (amd64) and passed smoke-test.sh; each reports FrankenPHP v1.13.5 / Caddy v2.11.9 (PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12). arm64 builds and the publish happen in CI after merge.

@michaelaguiar
michaelaguiar merged commit 2b6fdec into main Nov 14, 2026
2 checks passed
@michaelaguiar
michaelaguiar deleted the frankenphp-1.13.5 branch November 14, 2026 05:35
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