CVE-2026-45135: Remote Code Execution via Unsafe Unicode Handling in Caddy FastCGI
- Vendor
- Caddyserver
CVE-2026-45135 affects Caddy versions 2.7.0 through versions preceding 2.11.3. The FastCGI transport's splitPos() function incorrectly uses Unicode-aware, case-insensitive searching when a request path contains a non-ASCII byte. Two flaws in this fallback logic allow crafted URL paths to cause files without the configured script extension, such as non-PHP files, to be treated as scripts. Where an attacker can place content in files served through FastCGI, this can enable remote code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote attacker can bypass the intended FastCGI script-extension boundary. If attacker-controlled files are accessible through the affected FastCGI handling, the backend may execute their contents as scripts, compromising confidentiality, integrity, and availability within the backend execution context.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent untrusted users from uploading or placing files in locations served through FastCGI where script selection depends on split_path behavior. Restrict or disable affected upload and file-placement functionality, and limit FastCGI-backed content handling to trusted files.
Remediation
Patch, then assume compromise.
Upgrade Caddy to version 2.11.3 or later. The fix removes the Unicode search fallback and treats non-ASCII bytes as non-matches during split_path processing.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-45135 exploited in the wild?
- As of Nov 21, 2026, Mallory has no reports of CVE-2026-45135 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-45135?
- Yes. As of Nov 21, 2026, Mallory has reports of a public exploit for CVE-2026-45135.
- Is there a patch for CVE-2026-45135?
- Upgrade Caddy to version 2.11.3 or later. The fix removes the Unicode search fallback and treats non-ASCII bytes as non-matches during split_path processing.
- What products are affected by CVE-2026-45135?
- Caddyserver Caddy.
- How severe is CVE-2026-45135?
- CVE-2026-45135 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 0.68% (53rd percentile) as of Nov 21, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.