CVE-2026-27590: Caddy - Path Traversal
- Cve: CVE-2026-27590
- Name: Caddy - Path Traversal
- 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.
- Impact: Attackers can execute unintended PHP files, potentially leading to remote code execution depending on deployment.
- Remediation: Update to version 2.11.1 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00628
- Epss percentile: 0.50852
- Assignee: [email protected]
- Published at: 2026-02-24T17:29:04Z
- Age in days: 273
- Modified at: 2026-06-17T10:27:21Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27590
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96g | nvd | 2026-02-24 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96g | Exploit, Vendor Advisory |
| https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38 | Third Party Advisory |
| https://github.com/caddyserver/caddy/releases/tag/v2.11.1 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| caddyserver:caddy | < 2.11.1 | no | nvd | /v1/products/caddyserver/caddy |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| caddyserver/caddy | package, releases, security_advisory | yes | /v1/repositories/caddyserver/caddy |
| php/frankenphp | security_advisory | yes | /v1/repositories/php/frankenphp |
Index
- Repositories: 7
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-24
- Remote: yes
- Exposed hosts: 1870582
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports