cve.bz

CVE-2026-45135 caddyserver caddy: Improper Handling of Unicode Encoding

8.1 highExploit referenceEPSS 0.7%Fix available

High (8.1) in caddyserver caddy. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/caddyserver/caddy/v2 2.11.3.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-06-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-176 Improper Handling of Unicode Encoding
CWE-178 Improper Handling of Case Sensitivity
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45135 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45135?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45135?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45135 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
caddyserver:caddyfrom 2.7.0 before 2.11.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m675-2p33-xv9gGogithub.com/caddyserver/caddy/v2>=2.7.0 <2.11.32.11.3
GO-2026-5492Gogithub.com/caddyserver/caddy/v2>=2.7.0 <2.11.32.11.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14caddy2.11.4-1DEBIAN-CVE-2026-45135
Ubuntu25.10, 26.10, Pro:24.04:LTS and 1 morecaddyno fix listedUBUNTU-CVE-2026-45135
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260727T201416-160000.1.1SUSE-SU-2026:23216-1 SUSE-SU-2026:23227-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260727T201416-160000.1.1openSUSE-SU-2026:21551-1
Alpinev3.23, v3.24caddy2.11.4-r0ALPINE-CVE-2026-45135

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw has an Important impact in Caddy deployments using the FastCGI transport. An attacker who can place content in files served through FastCGI can send a crafted request path containing non-ASCII bytes and cause a non-script file to be treated as executable, potentially resulting in remote code execution.

Red Hat's mitigation

Disable affected FastCGI routes where possible and prevent untrusted users from uploading or modifying files served through FastCGI until updates are applied.

ProductPackageStateAdvisory
Red Hat Hardened ImagescaddyNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45135.

Attack patterns (CAPEC)

  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON