SecurityContext

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

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://github.com/caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96gnvd2026-02-24

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96gExploit, Vendor Advisory
https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38Third Party Advisory
https://github.com/caddyserver/caddy/releases/tag/v2.11.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
caddyserver:caddy< 2.11.1nonvd/v1/products/caddyserver/caddy

Projects

RepositoryLink kindsIndexedUrl
caddyserver/caddypackage, releases, security_advisoryyes/v1/repositories/caddyserver/caddy
php/frankenphpsecurity_advisoryyes/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