Caddy 2.11.9
Caddy 2.11.9 arrived on November 5, 2026, one day after 2.11.8. The release notes describe it as a quick follow-up that fixes a regression introduced by the previous version and several more security issues, mostly in FastCGI. If you are on 2.11.8 and you serve PHP, upgrade. If you are on 2.11.8 and you do not, the honest answer is that this patch is still worth taking but the urgency drops.
The Regression That Broke WordPress Admin
Version 2.11.8 changed how try_files patterns match directories, and the result was a request for a directory with a trailing slash, such as /wp-admin/, matching the directory instead of its index.php. The request never reached PHP and usually returned a 404. A try_files pattern now only matches a directory when the pattern ends in /, which restores the old behavior. The fix comes from @dunglas (PR #8352).
This is the part worth dwelling on. A one-line matching rule, changed for good reasons, silently took down admin screens for a large class of PHP applications. That is the failure mode to expect from a web server whose configuration language is expressive enough to be convenient.
Security Fixes
- FastCGI
envvalues now take precedence over request headers. A client could previously override anyHTTP_*variable set through the FastCGI transport orphp_fastcgienvsubdirective by sending a matching header, for example choosing the user an application saw inHTTP_X_AUTH_USER. Reported by @JebeenLee and @Camel4, fixed by @dunglas (GHSA-q34h-28rj-5hjm, PR #8358). Applications that trusted those variables were trusting client input. - Windows script selection is tightened. NTFS 8.3 short names and alternate data streams could run a script that a path rule was meant to deny, completing the FastCGI work from 2.11.8 (GHSA-9cr8-wmhh-39pm, PR #8356).
- Encoded slashes and dot segments no longer select a different script than a
%-containing path matcher approved (PR #8357). Ambiguous requests now get a400. - HTTP/2
hostnext to:authorityno longer confusesHTTP_HOST. A request could make the application see a different host than the one Caddy routed on (PR #8355). - A stricter
client_authcan no longer be dropped silently when two site blocks merge TLS connection policies for the same hostname. The adapter kept the first policy and discarded the second, which could quietly remove an mTLS requirement. Conflictingclient_authis now a Caddyfile error, contributed by @sam-kota (PR #8306). go-joseupdated to v4.1.6 for GHSA-mgcc-cww5-fp2q (PR #8299).
The notes are explicit that these patches may break applications which relied on the buggy behavior. That is the correct trade to make and also a reminder to test a PHP deployment before rolling the upgrade across a fleet.
Smaller Changes
- Path matchers with placeholders work as written. Placeholders such as
{env.FOO}are no longer lower-cased to{env.foo}before lookup, and their values are compared case-insensitively against the request path like static patterns, contributed by @BenMacha (PR #8343). - New
plain_time_formatoption forfile_server browse. Sets the time layout of plain-text directory listings served withAccept: text/plain, contributed by @steffenbusch (PR #8084). - Fewer allocations in path cleaning, header rewriting, and
weighted_round_robinselection, contributed by @jvoisin (PR #7842). - New
httpcaddyfile.Helper.IsNamedRoute()lets a directive tell whether it is being parsed inside a named route (PR #8354).
Plugin Maintainers, Read This
The release carries an explicit warning for anyone building a Caddy plugin: Dependabot will likely flag the Caddy security fixes and urge a go.mod bump. Upgrade the dependency only if an exported API your plugin uses has changed. Chasing every advisory in a server dependency produces builds nobody has tested, which is a worse outcome than a plugin pinned one patch behind.
Upgrading
Run caddy upgrade, or replace the binary from the download page. After upgrading, load your Caddyfile once with caddy validate to catch the new conflicting client_auth error before a restart does it for you. Then request a trailing-slash URL that reaches PHP and confirm it lands on index.php, because that is the path this release exists to repair.