Caddy 2.11.1 → 2.11.3
2 releases · 0 breaking changes · 10 security fixes · 4 advisories fixed
10security0breaking0deprecated20feature7fix
Vulnerabilities fixed by this upgrade
- 4.3 GHSA-gx7w-56w6-g48x Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching
- high GHSA-wwhq-w58m-w29c Caddy CVE-2026-30852 Fix Bypass
- medium CVE-2026-30852 vars_regexp double-expands user input, leaking env vars and files
- 8.1 CVE-2026-30851 Caddy forward_auth copy_headers Does Not Strip Client-Supplied Headers, Allowing Identity Injection and Privilege Escalation
Breaking changes
None in the release notes.
Security changes
- security Fixes GHSA-gx7w-56w6-g48x: Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching in 2.11.3
- security fastcgi: Carrying over a patch from FrankenPHP for a bug that could allow non-PHP files to be executed; collaborated on by @dunglas, @KC1zs4, and @chenjj. in 2.11.3
- security vars: A more thorough fix for https://github.com/advisories/GHSA-m2w3-8f23-hxxf, collaborated by @everping and @vnxme. in 2.11.3
- security admin: Array index normalization to prevent remote admin socket auth bypass, by @Amemoyoi and bot. in 2.11.3
- security admin: More rigorous path prefix matching to prevent remote admin socket auth bypass, by @Amemoyoi and bot. in 2.11.3
- security @NucleiAv reported a bug in the forward_auth directive that could permit identity injection and potential privilege escalation. in 2.11.2
- security @sammiee5311 reported that vars_regexp double-expanded placeholders, allowing some unusual configs to reveal secrets. in 2.11.2
- security Built on Go 1.26.1 (also released today) which patches several CVEs. in 2.11.2
- security Our documentation has been updated to note that file system case sensitivity may affect the behavior of the hide option of the file_server handler. in 2.11.2
- security 2dbcdefbbee68e7b4a31ac66361a0f4e3bcd2eea forward_auth: copy_headers does not strip client-supplied identity headers (Fixes GHSA-7r4p-vjf4-gxv4) (#7545) in 2.11.2
Every release in between
securityFixes GHSA-gx7w-56w6-g48x: Remote Admin Authorization Bypass on PKI Endpoints via Prefix-Based Path Matching
securityfastcgi: Carrying over a patch from FrankenPHP for a bug that could allow non-PHP files to be executed; collaborated on by @dunglas, @KC1zs4, and @chenjj.
securityvars: A more thorough fix for https://github.com/advisories/GHSA-m2w3-8f23-hxxf, collaborated by @everping and @vnxme.
securityadmin: Array index normalization to prevent remote admin socket auth bypass, by @Amemoyoi and bot.
securityadmin: More rigorous path prefix matching to prevent remote admin socket auth bypass, by @Amemoyoi and bot.
othercaddyhttp: Sync placeholder expansion in vars and vars_regexp
othercaddytls: Avoid ACME fallback for implicit Tailscale *.ts.net policies
otherchore: Resolve recent CI failures
othercaddytls: Consolidate empty APs more smartly
otherrewrite: skip query rename when source key is absent
featureroot: introduce down-propagating Helper.BlockState for other directives/plugins to use
otherhttp: make zstd checksum configurable
othernotify: Always send "READY=1" even after an error
fixreverseproxy: Fix check for header_up Host {upstream_hostport} redundancy
othercaddytls: Expand placeholders in dns_challenge override_domain tls parameter
featuretls: add system and combined CA pool modules
othervars: Don't expand placeholders in values
otherbuild(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.42.0 to 1.43.0
otherbuild(deps): bump the all-updates group across 1 directory with 11 updates
otherreverseproxy: make stream copy buffer size configurable
featurevars: Add matcher placeholder handling tests
otherbuild(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4
featurelogging: Add journald encoder wrapper
othercaddyfile: Improve import/global options UX for imports before global options
otherchore: replace interface{} with any for modernization
otherchore: bump timberjack to v1.4.1
otherlogging: Preserve ts for journald-wrapped JSON logs
otherfileserver: show symlink targets verbatim (#7476)
fixfix(caddyfile): {block} in snippet
othercaddyhttp: Document missing placeholders for escaped URI and prefixed query
otherchore: add AGENTS.md
otherbuild(deps): bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.0
otheradmin: Redact sensitive request headers in API logs
featurereverseproxy: add lb_retry_match condition on response status
featurecaddyhttp: prefer port 443 in auto-HTTPS and add tests
fixfix: Propagate ECH keys to the QUIC listener
featuremetrics: Implement pushing via OLTP
fixlogging: Add regression coverage for rotated file mode
featurereverseproxy: Add ability to clear dynamic upstreams cache during retries
featuretls: Add alpn to managed HTTPS records
+15 more items in the release notesfeatureReverse proxy got a lot of love with certain edge cases related to PROXY protocol, health check port, and closing body on retries. Dynamic upstreams are now tracked which enables passive health checking.
featurePerformance improvements for metrics.
featureNew tls_resolvers global option to control DNS resolvers for all sites when using the ACME DNS challenge.
featureLog rolling now supports zstd compression; deprecated roll_gzip, which will be removed in the future. Use roll_compression instead.
featureRefined logging and some error messages.
featureFixed a bug in rewrite handler that could cause some URIs to not be rewritten when URI path is an escaped form of target path. Thanks to @MaherAzzouzi for the report.
security@NucleiAv reported a bug in the forward_auth directive that could permit identity injection and potential privilege escalation.
security@sammiee5311 reported that vars_regexp double-expanded placeholders, allowing some unusual configs to reveal secrets.
securityBuilt on Go 1.26.1 (also released today) which patches several CVEs.
securityOur documentation has been updated to note that file system case sensitivity may affect the behavior of the hide option of the file_server handler.
feature88616e86e6e656738426bb86b4a42dcc20a59f77 api: Add all in-flight requests /reverse_proxy/upstreams (Fixes #7277) (#7517)
otherd935a6956c16902623b8e8f6d1aafec4f6124f46 autohttps: Ensure CertMagic config is recreated after autohttps runs (#7510)
other5d20adc7a97f70d6fe722099356cca2027908576 build(deps): bump github.com/smallstep/certificates (#7535)
other9371ee67c64d2d2c81f9530be0d9749ecdbd2b00 build(deps): bump the actions-deps group across 1 directory with 12 updates (#7536)
other9798f6964d58eb5703d1498804962faca2dae4ea caddyhttp: Avoid nil pointer dereference in proxyWrapper (#7521)
otherdc360828598440beb1dfdb21c0ba14e09bcd565b caddyhttp: Collect metrics once per route instead of per handler (#7492)
other174fa2ddb93f830370b05058d1ea51ad1512597d caddyhttp: Evaluate tls.client placeholders more accurately (fix #7530) (#7534)
othereac02ee98f9f61d79ae774aa49aa102ddf2076ba caddyhttp: Limit empty Host check to HTTP/1.1
otherf283062d37c50627d53ca682ebae2ce219b35515 cmd: Custom binary names through CustomBinaryName and CustomLongDescription (#7513)
othercd9e1660aa454e6536ad740c9d1aaecf3c3552ed cmd: Pass configFile, not configFlag, for reload command (#7532)
other7b34e3107eb6071fea3a3f94a5c913c32a55afd0 core: Check whether @id is unique (#7002)
other566e710991a6b752933178e2c6126181efc563aa fileserver: document hide case-sensitivity (F-CADDY-FILESERVER-HIDE-CASE-001) (#7548)
feature2dd3852416e2b04bc90b98643673ec9e131c32e6 fix(caddyfile): Prevent parser to panic when no token were added by empty {block} (#7543)
security2dbcdefbbee68e7b4a31ac66361a0f4e3bcd2eea forward_auth: copy_headers does not strip client-supplied identity headers (Fixes GHSA-7r4p-vjf4-gxv4) (#7545)
otherce203aa9e1ff2686777019f45c36c283debb7986 go.mod: Upgrade x/net
other76b198f586e4e2482a0278ba52c176cff70af8cf http: Sort auto-HTTPS redirect routes by host specificity (fixes #7390) (#7502)
fix7ffb640a4da666203ab43396eaeb2b6b84bb983f httpcaddyfile: Fix missing TLS connection policies when auto_https is default (#7325) (#7507)
other45cf61b1276b2cf79ce0147df8fa48c96e8e5356 logging: Ensure slog error level logs don't print stack traces (#7512)
other987375297862d9cd0a3fa33cfb199c25e504ad1b logging: Support zstd roll compression (#7515)
feature294dfff4435c31b7c8d20d26067365b0a0016610 logging: add DirMode options and propagate FileMode to rotations (#7335)
othera6acb3902cb6453153db0738bd8210e093449ce1 proxyproto: Generated test coverage (#7540)
fix11b56c6cfc25f8c814fa66cb02060548d12c4040 reverseproxy: Fix health_port being ignored in health checks (#7533)
otherdb2986028fc573ae3add0a9a3381268dd7599267 reverseproxy: Track dynamic upstreams, enable passive healthchecking (#7539)
fixd7b21c610494e30e147de77a4783c18e5f206d99 reverseproxy: fix tls dialing w/ proxy protocol (#7508)
othera5e7c6e232573b8a8df2946914a84a36070d4b9f reverseproxy: prevent body close on dial-error retries (#7547)
other2ab043b8903db4574b2fc7a625619018a072f082 reverseproxy: query escape request urls when proxy protocol is enabled (#7537)
otherfbfb8fc517728f85890cd46559c01bec9495bf17 rewrite: Force recomputing path when escaped path matches rewrite target
featuref145bce553a306ca6890fea782ca4e3b06787bbb tls: Add tls_resolvers global option for DNS challenge configuration (#7297)