Skip to content
CVE-2026-45135: Caddy FastCGI Unicode Flaw Enables Script Misrouting and Possible RCE

CVE-2026-45135: Caddy FastCGI Unicode Flaw Enables Script Misrouting and Possible RCE

First seen 23 Nov 2026, 00:14 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 23, 2026 at 00:14 UTC
  • •Caddy versions 2.7.0 through before 2.11.3 are affected by CVE-2026-45135 in the FastCGI transport.
  • •Crafted URL paths with non-ASCII bytes can cause non-script files to be treated as scripts.
  • •Remote code execution is possible where an attacker can place content in files served via FastCGI.
  • •Upgrading to Caddy 2.11.3 or later is the fix; until patched, restrict untrusted file uploads to FastCGI-served locations.
  • •Mallory.Ai reports no public exploits tracked yet.

CVE-2026-45135 affects Caddy versions 2.7.0 through versions before 2.11.3. The FastCGI transport's splitPos() function misuses Unicode-aware, case-insensitive matching when a request path contains a non-ASCII byte. Per Mallory.Ai and the GitHub vendor advisory GHSA-m675-2p33-xv9g, two flaws in this fallback let a crafted URL path cause a file without the configured script extension, such as a non-PHP file, to be treated as a script. The vendor advisory states that where an attacker can place content into files served via FastCGI, this can be escalated to remote code execution. The flaw was adapted from FrankenPHP's code and inherits its bugs, originally reported there by @KC1zs4. An unauthenticated remote attacker is described as able to bypass the script-extension boundary. Mallory.Ai rates the CVE at CVSS 8.1 (High). The fix in Caddy 2.11.3 removes the Unicode fallback and treats non-ASCII bytes as non-matches. Mallory.Ai reports no public exploits tracked yet.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated just now How this analysis works

Timeline

2026-06-23
CVE-2026-45135 published
Disclosed with a CVSS 8.1 (High) rating affecting Caddy 2.7.0 through versions before 2.11.3.
Mallory.Ai
2026-11-22
Mallory.Ai publishes vulnerability analysis
Mallory.Ai describes the flaw, interim mitigations, and the Caddy 2.11.3 fix, and reports no public exploits tracked yet.
Mallory.Ai
2026-11-23
Caddy vendor advisory GHSA-m675-2p33-xv9g published
The advisory details two flaws in splitPos() and credits @KC1zs4 for the underlying findings originally reported against FrankenPHP.
github.com

More articles in this cluster (5)

Following this threat?

Track CVE-2026-45135 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Which Caddy versions are affected?
Caddy 2.7.0 through versions before 2.11.3 are affected, according to Mallory.Ai.
Is this being exploited?
Mallory.Ai reports no public exploits tracked yet, and the articles do not describe exploitation in the wild.
What should we do first?
Upgrade to Caddy 2.11.3 or later; if patching must wait, prevent untrusted users from placing files in FastCGI-served locations.