Caddy 2.10.0 → 2.11.1
3 releases · 1 breaking change · 6 security fixes · 3 advisories fixed
6security1breaking0deprecated41feature31fix
Vulnerabilities fixed by this upgrade
- high CVE-2026-45135 Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files
- high CVE-2026-27590 Unicode case-folding length expansion causes incorrect split_path index (SCRIPT_NAME/PATH_INFO confusion) in FastCGI transport
- medium CVE-2026-27585 Improper sanitization of glob characters in file matcher may lead to bypassing security protections
Breaking changes
- breaking 89ed5f44de61fcb0c3b7ce93bfefbb8e775d1964 fix: Remove nil arg from zapslog.NewHandler call (#6984) in 2.10.1
Security changes
- security fastcgi: CVE-2026-27590 by @dunglas and @AbdrrahimDahmani - Unicode case-folding length expansion causes incorrect split_path index (SCRIPT_NAME/PATH_INFO confusion) in FastCGI transport. in 2.11.1
- security admin: CVE-2026-27589 by @1seal - Cross-origin requests attempted with no-cors mode could cause some API requests to succeed; such requests are now blocked. (In order for this to be practically exploitable, a web browser executing a malicious web page must be running locally to a production Caddy… in 2.11.1
- security caddyhttp: CVE-2026-27588 by Asim Viladi Oglu Manizada - The Host matcher becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass. in 2.11.1
- security caddyhttp: CVE-2026-27587 by Asim Viladi Oglu Manizada - The Path matcher skips case normalization for escape sequences, enabling path-based route/auth bypass. in 2.11.1
- security caddytls: CVE-2026-27586 by @moscowchill - TLS client authentication silently fails open when CA certificate file is missing or malformed. in 2.11.1
- security caddyhttp: CVE-2026-27585 by @parrot409 - Improper sanitization of glob characters in file matcher may lead to bypassing security protections. in 2.11.1
Every release in between
featureOur project now implements and requires Assistance Disclosures (for AI/LLMs) on issues, PRs, comments, replies, reviews, etc.
fixMany, many other minor improvements and bug fixes.
securityfastcgi: CVE-2026-27590 by @dunglas and @AbdrrahimDahmani - Unicode case-folding length expansion causes incorrect split_path index (SCRIPT_NAME/PATH_INFO confusion) in FastCGI transport.
securityadmin: CVE-2026-27589 by @1seal - Cross-origin requests attempted with no-cors mode could cause some API requests to succeed; such requests are now blocked. (In order for this to be practically exploitable, a web browser executing a malicious web page must be running locally to a production Caddy…
securitycaddyhttp: CVE-2026-27588 by Asim Viladi Oglu Manizada - The Host matcher becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass.
securitycaddyhttp: CVE-2026-27587 by Asim Viladi Oglu Manizada - The Path matcher skips case normalization for escape sequences, enabling path-based route/auth bypass.
securitycaddytls: CVE-2026-27586 by @moscowchill - TLS client authentication silently fails open when CA certificate file is missing or malformed.
securitycaddyhttp: CVE-2026-27585 by @parrot409 - Improper sanitization of glob characters in file matcher may lead to bypassing security protections.
featurecaddyhttp: add replacer placeholders for escaped values
fixcaddyfile: Prevent trailing space on line before env variable - Fixes #6881
featureadd: encode header Content-Type graphql-response
fixencode: fix response corruption when handle_errors is used
fixFix PKI creation when auto_https is disabled (#7211)
featurecaddyfile: Allow block to do nothing if nothing passed to import
featurehttpcaddyfile: Add missing DNS challenge check for acme_dns
featureArgon2id Support for Basic Auth
featurecaddyhttp: Add server options keepalive_idle and keepalive_count
featurelogging: Switch from lumberjack to timberjack, add time-rolling options
featurecaddyhttp: Add trusted_proxies_unix for trusting unix socket X-Forwarded-* headers
fixlogging: fix multiple regexp filters on same field (fixes #7049)
featurelisteners: Add support for named socket activation
featurefeat: switch to autoexport for OpenTelemetry span exporter
fixfix quote within quotes formatted incorrectly by fmt
fixfix golangci-lint error G602 in caddyhttp
featurefeat: allow customizing the Server header
featurefeat: custom slog handlers for modules (log contextual data)
fixFix retries for requests with bodies
featurecaddypki: Add support for multiple intermediates in signing chain
fixcaddyhttp: Fix logging on wildcard sites when SkipUnmappedHosts is true
featuremultiplexing: Introduce packet conn wrappers
fixcaddytls: fix preferred chains options by appending values instead of replacing
featurefeat: mark Assert* functions as test helpers
featurenotify: implement windows service status and error notifications
featurecmd: add --json flag to list-modules
featureAdd span attributes to tracing module
fixreadme: fix fence
fixcaddyfile: Fix indentation of multiline strings in fmt (#7425)
featurecaddyfile: add observe_catchall_hosts option
featurecaddyfile: Add renewal_window_ratio global option
featurepki: add per-CA configurable maintenance_interval and renewal_window_ratio
+83 more items in the release notesotherhttp: Make logger first, before TLS provisioning
fixhttpcaddyfile: Fix acme_dns regression
fixcaddyfile: Fix importing nested tokens for {block}
fix551f793700fe1550845c824470b623fd1aa03d36 caddyfile: Fix importing nested tokens for {block} (#7189)
other16fe83c7afe2152b0bb53ae35078a28f87e6dcf2 http: Make logger first, before TLS provisioning (#7198)
fix4564261d8350f8010b7e001e646e260e9bba5746 httpcaddyfile: Fix acme_dns regression (#7199)
otherupdate quic-go to v0.51.0
otherforwardproxy: reference correct field name in LoadModule
fixfix: Remove nil arg from zapslog.NewHandler call
featurefileserver: Add support for .avif image format
otherreverseproxy: use DialTLSContext for TLS if servername has placeholder
otheradmin: Make sure that any admin routers are provisioned when local/re…
otherlog: default logger should respect {in,ex}clude
fixacme_server: fix policy parsing in caddyfile
featureimplement Unwrap for interceptedResponseHandler
fixcaddyhttp: fix route sort by comparing paths without wildcard if they don't shar…
fixfix: crash - null check on event origin
fixfix: prevent error handler from overriding sub handler matchers
fixcmd: fix Commands function not returning all registered commands
featurecore: clean up new config if it failed to run
feature[ADD] sort buttons in grid mode
fixFix: Support placeholders in header replacement search patterns
fixfix dead link
fixfix(provisioning): Context.App or Context.AppIfConfigured will return (val, nil) even if the app failed to provision or validate the first time
featurecmd: Allow caddy adapt to read from stdin
featurefeat: add bcrypt cost parameter to hash-password
fixfix typo in bcrypt cost flag name
fixcaddytls: fix regression in external certificate manager support
featurereverse_proxy: use the new KeepAliveConfig to set probe interval
featuredoc: Add a few lines about Etag file content
featurecaddyhttp: use the new http.Protocols to handle h1, h2 and h2c requests
fix44d078b6705c7abcabb2a60f501568ff7f5a57a1 acme_server: fix policy parsing in caddyfile (#7006)
feature49dac61b078a704b3e98566134c108d6def19450 bcrypt: add cost parameter to hash-password (#7149)
feature14a63a26b9a673857fc37cba37aedc35a10ce634 caddyhttp: use the new http.Protocols to handle h1, h2 and h2c requests (#6961)
fixb898873b90b5cb804400888ec2f2994f6a2dd270 caddytls: fix regression in external certificate manager support (#7179)
feature19ff47a63b9ff2ae424790b02548d9ba4afc56ba cmd: Allow caddy adapt to read from stdin (#7163)
fixe633d013f64d057f462786ccf4a430cd27817d4d cmd: fix Commands function not returning all registered commands (#7059)
feature3d0b4fac5a583d615fe411a4af9a24a7bcc3bee3 core: Clean up new config if it failed to run (#7068)
featureb9710c6af4f764b463a8e0c080783f2b7fb15ce0 fileserver: Add a few doc lines about Etag file content (#7173)
feature3b4d966fba069e9895980dbbf05f84bf818968ba fileserver: Add sort buttons in grid mode (#7089)
feature54d03ced48a8ed2264ae9248c81f00a1c2648d82 fileserver: Add support for .avif image format (#6988)
breaking89ed5f44de61fcb0c3b7ce93bfefbb8e775d1964 fix: Remove nil arg from zapslog.NewHandler call (#6984)
feature5b727bde2992e7cb9987208453db42ae6e1c6e1e httpcaddyfile: Allow naked acme_dns if dns is set (fix #7091)
fix0badb071efc38bb9cc055076f0a48d1725fe8cc8 httpcaddyfile: Fix generated config related to ACME global options
feature716d72e47538cc4f7bab43b1d973e0f8aa0a9fba intercept: implement Unwrap for interceptedResponseHandler (#7016)
feature1c596e3c5a1cd0b52febb1506ffe471918bd1128 reverse_proxy: use the new KeepAliveConfig to set probe interval (#7157)
+72 more items in the release notes