Skip to content
OpenAdvisories
High USN-9260-1 9 CVEs

caddy vulnerabilities

Published Nov 30, 2026 · Updated Dec 2, 2026

Summary

It was discovered that the Caddy file matcher did not sanitize backslashes
in request paths. A remote attacker could possibly use this issue to bypass
path-based security restrictions in certain configurations.
(CVE-2026-27585)

It was discovered that the Caddy HTTP path matcher performed case-sensitive
comparisons when the match pattern contained percent-escape sequences. A
remote attacker could possibly use this issue to bypass path-based routing
and access controls by changing the case of the request path.
(CVE-2026-27587)

It was discovered that the Caddy HTTP host matcher performed case-sensitive
comparisons when configured with a large list of hosts. A remote attacker
could possibly use this issue to bypass host-based routing and access
controls by changing the case of the Host header. (CVE-2026-27588)

It was discovered that the Caddy admin API accepted cross-origin requests
when origin enforcement was not enabled. If a user were tricked into
visiting a malicious website, a remote attacker could possibly use this
issue to perform cross-site request forgery attacks and change the Caddy
configuration. (CVE-2026-27589)

It was discovered that Caddy incorrectly split FastCGI request paths that
contained certain Unicode characters, which could cause a different file to
be executed than intended. In configurations where an attacker could
control file contents, a remote attacker could possibly use this issue to
execute arbitrary code. (CVE-2026-27590)

It was discovered that the Caddy remote admin API checked access controls
and resolved configuration paths in different ways. An authenticated
attacker could possibly use this issue to access or modify configuration
objects outside of their permitted paths. (CVE-2026-45692)

It was discovered that Caddy did not remove client-supplied headers that
FastCGI applications treated as the same as the trusted identity headers
copied by the forward_auth directive. A remote attacker could possibly use
this issue to inject or override identity headers trusted by FastCGI
applications. (CVE-2026-52845)

It was discovered that the Caddy stripHTML template function did not remove
HTML tags from certain malformed input. A remote attacker could possibly
use this issue to perform cross-site scripting attacks. (CVE-2026-52846)

It was discovered that Caddy expanded placeholders a second time in query
strings produced by certain rewrite configurations. A remote attacker could
possibly use this issue to obtain sensitive information, such as
environment variables or the contents of files. (CVE-2026-77281)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS caddy 2.6.2-6ubuntu0.24.04.3+esm3
Ubuntu · Pro 26.04 LTS Pro:26.04:LTS caddy 2.6.2-14ubuntu0.26.04.1~esm2

Vulnerabilities 9

  • High 8.9

    Caddy: Unicode case-folding length expansion causes incorrect split_path index (SCRIPT_NAME/PATH_INFO confusion) in FastCGI transport

    Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's FastCGI path splitting logic computes the split index on a lowercased copy of the request path and then uses that byte index to slice the original path. This is …

  • High 8.1

    Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`

    Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, forward_auth copy_headers deletes the exact client-supplied identity header before copying the trusted value from the auth gateway. But when the request later goes through php_f…

  • High 7.7

    Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass

    Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `path` request matcher is intended to be case-insensitive, but when the match pattern contains percent-escape sequences (`%xx`) it compares against the requ…

  • High 7.7

    Caddy: MatchHost becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass

    Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `host` request matcher is documented as case-insensitive, but when configured with a large host list (>100 entries) it becomes case-sensitive due to an opti…

  • Medium 6.9

    Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections

    Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, the path sanitization routine in file matcher doesn't sanitize backslashes which can lead to bypassing path related security protections. It affects users with specific …

  • Medium 6.9

    Caddy vulnerable to cross-origin config application via local admin API /load (caddy)

    Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, the local caddy admin API (default listen `127.0.0.1:2019`) exposes a state-changing `POST /load` endpoint that replaces the entire running configuration. When origin en…

  • Medium 6.5

    Caddy: rewrite placeholder re-expansion

    Caddy is an extensible server platform that uses TLS by default. In version 2.11.3 and earlier, three configuration-dependent weaknesses affect the handler and placeholder layer. In modules/caddyhttp/rewrite/rewrite.go, Rewrite.Rewrite() can pass attacker-con…

  • Medium 5.4

    Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization

    Caddy is an extensible server platform that uses TLS by default. From 2.4.0 until 2.11.3, the authorization layer and the /config traversal layer do not agree on what object the path refers to. In this case, a path authorized for one config object is accepted…

  • Medium 4.2

    Caddy: stripHTML template function bypass

    Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, Caddy’s stripHTML template function cannot reliably remove all HTML tags from input strings. Certain malformed HTML, such as <<>img src=x onerror=alert()>, can bypass the tag-st…

References

  • report
    https://ubuntu.com/security/CVE-2026-27585
  • report
    https://ubuntu.com/security/CVE-2026-27587
  • report
    https://ubuntu.com/security/CVE-2026-27588
  • report
    https://ubuntu.com/security/CVE-2026-27589
  • report
    https://ubuntu.com/security/CVE-2026-27590
  • report
    https://ubuntu.com/security/CVE-2026-45692
  • report
    https://ubuntu.com/security/CVE-2026-52845
  • report
    https://ubuntu.com/security/CVE-2026-52846
  • report
    https://ubuntu.com/security/CVE-2026-77281