Ubuntu 24.04 LTS / 26.04 LTS : caddy vulnerabilities (USN-9260-1)

critical Nessus Plugin ID 391213

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 24.04 LTS / 26.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9260-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected caddy package.

See Also

https://ubuntu.com/security/CVE-2026-27585

https://ubuntu.com/security/CVE-2026-27587

https://ubuntu.com/security/CVE-2026-27588

https://ubuntu.com/security/CVE-2026-27589

https://ubuntu.com/security/CVE-2026-27590

https://ubuntu.com/security/CVE-2026-45692

https://ubuntu.com/security/CVE-2026-52845

https://ubuntu.com/security/CVE-2026-52846

https://ubuntu.com/security/CVE-2026-77281

https://ubuntu.com/security/notices/USN-9260-1

Plugin Details

Severity: Critical

ID: 391213

File Name: ubuntu_USN-9260-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.19

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-27590

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:caddy

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/30/2026

Vulnerability Publication Date: 2/24/2026

Reference Information

CVE: 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

USN: 9260-1