Caddy 2.11.2 → 2.11.4
2 releases · 0 breaking changes · 12 security fixes · 6 advisories fixed
12security0breaking0deprecated12feature8fix
Vulnerabilities fixed by this upgrade
- 6.5 CVE-2026-77281 Three vulnerabilities in Caddy v2.11.3: rewrite placeholder re-expansion, unbounded body buffer DoS, and fileHidden case-sensitivity bypass
- 8.1 CVE-2026-52845 FastCGI header normalization bypass in `forward_auth copy_headers`
- 7.5 CVE-2026-52844 Windows `file_server` path authorization bypass via encoded backslash
- 4.2 CVE-2026-52846 stripHTML template function bypass in github.com/caddyserver/caddy
- 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
Breaking changes
None in the release notes.
Security changes
- security Fixes CVE-2026-52845: FastCGI header normalization bypass in `forward_auth copy_headers` in 2.11.4
- security Fixes CVE-2026-52844: Windows `file_server` path authorization bypass via encoded backslash in 2.11.4
- security caddyhttp: Normalize Windows backslashes in path matcher (thanks @Vincent550102) in 2.11.4
- security rewrite: Prevent placeholder re-expansion in injected query (thanks @WhiskerEnt) in 2.11.4
- security templates: Improved stripHTML action to more reliably remove malformed HTML (thanks to @jmrcsnchz) in 2.11.4
- security caddyhttp: Ignore header fields with underscores to prevent collisions (thanks @Vincent550102 for the report and @dunglas for the patch) in 2.11.4
- security Patch for GHSA-vcc4-2c75-vc9v in 2.11.4
- 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
Every release in between
securityFixes CVE-2026-52845: FastCGI header normalization bypass in `forward_auth copy_headers`
securityFixes CVE-2026-52844: Windows `file_server` path authorization bypass via encoded backslash
securitycaddyhttp: Normalize Windows backslashes in path matcher (thanks @Vincent550102)
securityrewrite: Prevent placeholder re-expansion in injected query (thanks @WhiskerEnt)
securitytemplates: Improved stripHTML action to more reliably remove malformed HTML (thanks to @jmrcsnchz)
securitycaddyhttp: Ignore header fields with underscores to prevent collisions (thanks @Vincent550102 for the report and @dunglas for the patch)
otherreverseproxy: further prevent body closes from dial errors
fixcaddytls: Fix client auth (fix #7724)
otherchore: deps upgrade
othercaddyhttp: omit Last-Modified for unusable mod times
fixcaddytls: fix TLS state races and ECH rotation retry
otherchore: clean up wording and typo fixes
fixreverseproxy: Add regression test for DialInfo network override
featurecaddyauth: add candidate placeholders for rejected identities
othercmd: support caddy start on IPv6-only hosts
othercaddyfile: preserve implicit TLS issuer semantics
otherreverseproxy: wraps request body to prevent closing if not read
othercaddytls: match IDN SNI in connection policies
otherbuild(deps): bump the all-updates group across 1 directory with 9 updates
othercaddyhttp: normalize Windows backslashes in path matcher
othergo.mod: update x/net
otherrewrite: prevent placeholder re-expansion in injected query
featureperf(replacer): optimize memory allocation for file placeholders
othercaddytls: skip idna.ToASCII for pure ASCII SNI values
otherencode: prioritize zstd and br over gzip in content negotiation
fixhttpcaddyfile: fix incorrect error message on duplicate matchers
securityPatch for GHSA-vcc4-2c75-vc9v
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 notes