9.8

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

Analyzed
AliasesUBUNTU-CVE-2026-27590DEBIAN-CVE-2026-27590GHSA-5r3v-vc8m-m96g
Published 24-02-2026Last modified 27-02-2026

Vulnerability summary

CVE-2026-27590 is a critical (CVSS 9.8) Improper Input Validation vulnerability in caddyserver caddy. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 51.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.63%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 24-02-2026
    PublishedVulnerability first disclosed.
  2. 27-02-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

0.63%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.61% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Caddy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • caddy< 2.11.2-r0 | < 2.11.1-r0
Caddyserver1 product
Debian1 product
  • caddyAll versions (No fix recorded) | < 2.6.2-5+deb12u1 | < 2.6.2-12+deb13u1 | < 2.11.2-1
Github.com/caddyserver/caddy1 product
  • v2< 2.11.1
Ubuntu1 product
  • caddyAll versions (No fix recorded) | < 2.6.2-6ubuntu0.24.04.3+esm3 | < 2.6.2-14ubuntu0.26.04.1~esm2

5 vendors · 5 products

References

11 links
Show all 11 references