Home / mailings [USN-9260-1] Caddy vulnerabilities
Posted on 01 December 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-9260-1
November 30, 2026
caddy vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
Summary:
Several security issues were fixed in Caddy.
Software Description:
- caddy: Fast, lightweight web server with automatic HTTPS
Details:
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)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 26.04 LTS
caddy 2.6.2-14ubuntu0.26.04.1~esm2
Available with Ubuntu Pro
Ubuntu 24.04 LTS
caddy 2.6.2-6ubuntu0.24.04.3+esm3
Available with Ubuntu Pro
After a standard system update you need to restart Caddy to make all the
necessary changes.
References:
https://ubuntu.com/security/notices/USN-9260-1
CVE-2026-27585, CVE-2026-27587, CVE-2026-27588, CVE-2026-27589,
CVE-2026-27590, CVE-2026-45692, CVE-2026-52845, CVE-2026-52846,
CVE-2026-77281
--===============2675263577376506472==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
