CVE-2026-45135: Remote Code Execution via Unsafe Unicode Handling in Caddy FastCGI
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.
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.
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.
Patch, then assume compromise.
Upgrade Caddy to version 2.11.3 or later. The fix removes the Unicode fallback and treats non-ASCII bytes as non-matches during split_path processing.
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
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
