Caddy

Stack Holdings GmbH.·CaddyServer.Caddy

HTTP/2 web server with automatic HTTPS

winget install --id CaddyServer.Caddy --exact --source winget

Latest 2.11.9·November 5, 2026

Release Notes

This is a quick follow-up on top of 2.11.8, to fix a regression it introduced and a few more security issues, mostly in FastCGI. It contains only fixes backported from master, plus a couple of small additions. If you're on 2.11.8 and serve PHP, we recommend upgrading. Huge thank you to our sponsors for keeping the project alive with resources, and for our maintainers who triage and assist tirelessly in this relentless new age of AI. Highlights

  • Fixed: PHP directory indexes (regression in 2.11.8). A request for a directory with a trailing slash, like /wp-admin/, was matched by the directory itself instead of its index.php, so it never reached PHP and usually got a 404. This broke WordPress admin pages and other apps that serve an index through a trailing-slash URL. A try_files pattern now only matches a directory when it ends in /. Thanks @dunglas! (#8352)
  • Path matchers with placeholders now work as expected: placeholders like {env.FOO} are no longer lower-cased into {env.foo} before they're looked up, and their values are compared case-insensitively against the request path, like static patterns. Thanks @BenMacha! (#8343)
  • New plain_time_format option for file_server browse: sets the time layout of plain-text directory listings (Accept: text/plain). Thanks @steffenbusch! (#8084)
  • Fewer allocations in path cleaning, header rewriting and weighted_round_robin selection. Thanks @jvoisin! (#7842)
  • For plugin authors: new httpcaddyfile.Helper.IsNamedRoute() tells a directive whether it's being parsed inside a named route. (#8354)

⚠️ Breaking changes

  • Conflicting client_auth is now a Caddyfile error. When two site blocks share TLS connection policies for the same hostname but set different client_auth, the adapter used to keep the first one and silently drop the other, which could quietly remove a stricter mTLS requirement. (#8306)
  • FastCGI requests that are ambiguous about which script they run get 400:
    • when the escaped path (which %-containing path matchers see) and the decoded path would select different scripts, e.g. /public/tool.php%2f..%2f..%2fadmin%2ftool.php (#8357)
    • on Windows, script paths with an 8.3 short name component (like ADMINI~1) or a : (NTFS alternate data streams) (#8356)
  • FastCGI env values now take precedence over request headers, so a client can no longer override HTTP_* variables you set with env (see below). (#8358)

Security fixes Thank you to everyone who reported responsibly and helped with patches:

  • fastcgi: A client could override any HTTP_* variable set with the FastCGI transport's (or php_fastcgi's) env subdirective by sending a matching request header, for example choosing the user an application sees in HTTP_X_AUTH_USER. Configured values now win. Reported by @JebeenLee and @Camel4, fixed by @dunglas. (GHSA-q34h-28rj-5hjm, #8358)
  • fastcgi: On Windows, NTFS 8.3 short names and alternate data streams could run a script that a path rule was meant to deny, completing the FastCGI fix from 2.11.8. Thanks @dunglas. (GHSA-9cr8-wmhh-39pm, #8356)
  • fastcgi: Encoded slashes and dot segments could make a %-containing path matcher approve one script while another one runs. Thanks @dunglas. (#8357)
  • fastcgi: Over HTTP/2, a host field sent next to :authority could make the application see a different host (HTTP_HOST) than the one Caddy routed the request to. Thanks @dunglas. (#8355)
  • httpcaddyfile: A stricter client_auth could be silently dropped when merging TLS connection policies (see above). Thanks @sam-kota. (#8306)
  • Updated go-jose to v4.1.6 for GHSA-mgcc-cww5-fp2q. (#8299) ⚠️ These security patches may be breaking if your application relies on the buggy behaviors. 🚨 Notice for Caddy plugin maintainers: Dependabot will probably alert you to the security fixes in Caddy and urge you to upgrade it in your go.mod file. Please ONLY upgrade the Caddy dependency if there's a change to an exported API your plugin uses.

What's Changed

  • caddyhttp: lower-case path patterns with placeholders at request time by @BenMacha in #8343
  • httpcaddyfile: reject conflicting client_auth when merging TLS policies by @sam-kota in #8306
  • build(deps): bump the actions-deps group across 1 directory with 10 updates by @dependabot[bot] in #8340
  • build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.5 to 4.1.6 by @dependabot[bot] in #8299
  • fileserver: make plain-text browse time format configurable by @steffenbusch in #8084
  • fileserver: only match a dir when the pattern ends by / by @dunglas in #8352
  • httpcaddyfile: add Helper.IsNamedRoute by @dunglas in #8354
  • fastcgi: take HTTP_HOST from the routed host only by @dunglas in #8355
  • fastcgi: reject Win 8.3 aliases and alt data streams paths by @dunglas in #8356
  • caddyhttp: presize buffers in hot paths to reduce allocations by @jvoisin in #7842
  • fastcgi: let configured env variables override request headers by @dunglas in #8358
  • fastcgi: reject paths whose escaped form selects another script by @dunglas in #8357

Installer type: zip

x64—AD93112D335EE687100C4C9F11BCED16CA590377976B7FE7883882B9E797E472
arm64—BDF5FA34E7F3646EE04F59634D66CBCBFA39516F08108D8661FF3CEB3913A0C7

Details

Homepage
https://github.com/caddyserver/caddy
License
Apache-2.0
Publisher
Stack Holdings GmbH.
Support
https://github.com/caddyserver/caddy/issues

Tags

acmeautomatic-httpscaddycaddyfilegogolanghacktoberfesthttphttp-serverhttp3httpsprivacyreverse-proxysecuritytlsweb-server

Older versions (14)

2.11.8
x64—EAF062366AEBA9D782AF7F70EDB4B49097652BE1AF31E8141F9F2761AA25CB1F
arm64—AC5FBBAC1464BB1E1DF7D39D68324D8986BC6E7343895EFCA5CBFCC5A2D17CF9
2.11.7
x64—0A1EDC0B799512051C57071CE0E798D3F2CF67DC98171366F1D2B326072E3B06
arm64—34804A5E61106FA6718682F5BE6C9EDC4CCEEC9601BA7E25BEEC1E176CFC3B47
2.11.6
x64—07429393375227EB669E449764C5245EAAC8FC69FC68B2F867717AF794CC1153
arm64—AA6ECF039466A5AA65C16CF2E3057470D36905AFCB9BBC18287202C70D54218D
2.11.4
x64—1708333F79E274C7697285AFE6D592AB39314E0B131E9EC6BEA08AD27DF62EBF
arm64—C7F16DA93728F61455F77C04EAC1FF4DE06A38DA281ED6D3DCBFAE795BE2A936
2.11.3
x64—94BA71226D30A07D8ECA3F971E88222FAFB13F8BC46F391ED01AFD6780F9C030
arm64—2C1960DEB8C5FBC83E7EA3B9807E20C4D50EFE3846E5248AA4EB2F6DC437DE81
2.11.2
x64—2902D2A278597E4983D70ED6D694FCAB36B29B0B7D109771C59D7DA7147AFAD8
arm64—891073849F5FBAFD7A573FED0C5A09B68AD5590035E4FC5977E0E758FD7EA776
2.11.1
x64—DE55CC5C227FB03D5D69FCA6ADF0D71E90FDCFAB84C1A314598F25F3BBA83FD2
arm64—DD48DBCF0D2D7E97077665CEFA5CE054B72B79AB64DEDCE1DBDE49FB86FCED51
2.10.2
x64—9FD1EF9BE5D9B05852B66CCC25F96F23D8651BCAB20779861A745BDFFA273722
arm64—014B4795872678F708F5CD347FD00D81671CD0305284B4A236FFB1898967D840
2.10.1
x64—1EC34E4F87A47A7C1C475411036BF1F3B8CB05E5E07124E116BD974053E1C202
arm64—788F9330C6617DBF54DC1A17461A4FA17AFD7839B7F4F5E3745C4F64B82B2CC1
2.10.0
x64—AEB20676F18E1373586FC781C578E270E1429F71F6F0E0B72D85D55E0EFCA480
arm64—88ECAD03A98722FBCE9095B1FE08B33B406E84E20932513DBE86BE2F19684432
2.9.1
x64—FC99862101CD015A1FD2C1B38376109B543A5DE5B6FA63ECF35A491B41E3613A
arm64—205001F6FDA5958899AA2980BD534D2AC3E8106A7C6D25345F855A0D6D668398
2.9.0
x64—33618441185FA06B8AE7326E506625689C95738FC5BC6FD73302ECACEE8DD52E
arm64—A9BDB008EF74931BA72683D4D3409E5E295B9A10EDBFC3745BD0D623955A7CF7
2.7.6
x64—769C9A852F1D2ABE87804B32756582D4DCBC9C46BAC4ADAB5C04463FD89C8F6B
arm64—1D162C51877806D20E234C83365DA57D10B30ACE5991A04A34CF31FA723E2BE9
2.6.4
x64—11A0E78529C4D195ECB320F375B860BD41246083FA0D45D349D6A06690DE14DE
arm64—4B82ECB1EB1CD907E7E9678CE7B82BB48337BAC4E1D01A32BBE293CF456E0157