CVE-2026-45135: Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files

CVE-2026-45135 affects 20 listed versions of Caddy in the Dawnsentry catalogue.

8.1CVSS high
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
23 June 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Caddy

20 of 58 listed versions are affected. Fixed in 2.11.3. The newest release, 2.11.9, is not affected.

2.11.2 2.11.1 2.11.0 2.10.2 2.10.1 2.10.0 2.9.1 2.9.0 2.8.4 2.8.3 2.8.2 2.8.1 2.8.0 2.7.6 2.7.5 2.7.4 2.7.3 2.7.2 2.7.1 2.7.0

What it is

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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (GitHub)

Published by GitHub on 23 June 2026. Last changed 25 October 2026.

Sources

Check one version you run: look CVE-2026-45135 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.