CVE-2026-45135: Caddy - Remote Code Execution
- Cve: CVE-2026-45135
- Name: Caddy - Remote Code Execution
- Description: Caddy is an extensible server platform that uses TLS by default. From 2.7.0 until 2.11.3, the FastCGI transport's splitPos() in modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go misuses golang.org/x/text/search with search.IgnoreCase when the request path contains a non-ASCII byte. Two distinct flaws in that fallback let an attacker mislead Caddy's FastCGI splitting into treating a non-.php (or other configured split_path extension) file as a script. In any deployment where the attacker can place content into a file served via FastCGI (uploads, file storage, etc.), this can be escalated to remote code execution by crafting a URL whose path triggers either flaw. This vulnerability is fixed in 2.11.3.
- Impact: Attackers can execute arbitrary code remotely by crafting URLs and placing files served via FastCGI.
- Remediation: Update to version 2.11.3 or later.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00676
- Epss percentile: 0.53173
- Assignee: [email protected]
- Published at: 2026-06-23T18:17:52Z
- Age in days: 154
- Modified at: 2026-10-25T23:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45135
- 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-m675-2p33-xv9g | nvd | 2026-06-23 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/caddyserver/caddy/security/advisories/GHSA-m675-2p33-xv9g | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| caddyserver:caddy | >= 2.7.0, < 2.11.3 | no | nvd | /v1/products/caddyserver/caddy |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| caddyserver/caddy | package, security_advisory | yes | /v1/repositories/caddyserver/caddy |
| php/frankenphp | security_advisory | yes | /v1/repositories/php/frankenphp |
Index
- Repositories: 9
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-06-23
- 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