CVE catalog

CVE-2026-27590

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 the

[CVE catalog]

Severity
High · CVSS 8.9
Published
Source
[NVD] · [CVE record]
EPSS
0.61% · Oct 25, 2026

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 unsafe for Unicode because `strings.ToLower()` can change UTF-8 byte length for some characters. As a result, Caddy can derive an incorrect `SCRIPT_NAME`/`SCRIPT_FILENAME` and `PATH_INFO`, potentially causing a request that contains `.php` to execute a different on-disk file than intended (path confusion). In setups where an attacker can control file contents (e.g., upload features), this can lead to unintended PHP execution of non-.php files (potential RCE depending on deployment). Version 2.11.1 fixes the issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancaddysid2.11.4-1fixed
Debiancaddyforky2.11.4-1fixed
Debiancaddytrixie2.6.2-12+deb13u1fixed
Debiancaddytrixie-security2.6.2-12+deb13u1fixed
Debiancaddybookworm2.6.2-5vulnerable
Debiancaddybookworm-security2.6.2-5+deb12u1fixed
Gogithub.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgiNot reported2.11.1fixed
CpecaddyNot reportedNot reportedvulnerable
Gogithub.com/caddyserver/caddy/v2Not reported2.11.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancaddysourcesid2.11.2-1not yet assignedNot reported[1132041]
Debiancaddysourceforky2.11.2-1not yet assignedNot reported[1132041]
Debiancaddysourcetrixie2.6.2-12+deb13u1not yet assignedNot reported[1132041]
Debiancaddysourcebookworm2.6.2-5+deb12u1not yet assignedNot reported[1132041]
Gogithub.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/fastcgigoNot reported2.11.1Not reportedNot reportedNot reported
Gogithub.com/caddyserver/caddy/v2GoNot reported2.11.1Not reportedNot reportedNot reported

[Debian bug #1132041]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [caddy]Affected
    Details (2)
    • 2.6.2-5 · amd64 · bookworm

      Affected · Fixed: 2.6.2-5+deb12u1

      nvd · caddy · debian · bookworm; nvd · caddy · debian · 12

    • 2.6.2-5 · arm64 · bookworm

      Affected · Fixed: 2.6.2-5+deb12u1

      nvd · caddy · debian · bookworm; nvd · caddy · debian · 12

[Debian 13 (Trixie)]

  • [caddy]Affected
    Details (5)
    • 2.6.2-12+b3 · amd64 · trixie

      Affected · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+b3 · arm64 · trixie

      Affected · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.11.2-1~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

Observed:

References