cve.bz

CVE-2026-45692 caddyserver caddy: Partial String Comparison

3.8 lowExploit referenceEPSS 0.2%Fix available

Low (3.8) in caddyserver caddy. EPSS 0.2% 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.4.0 until 2.11.3, the authorization layer and the /config traversal layer do not agree on what object the path refers to. In this case, a path authorized for one config object is accepted, but then resolves to a different config object during traversal. This happens because the authorization layer uses string prefix matching and the /config traversal layer parses array indices numerically using strconv.Atoi(). This vulnerability is fixed in 2.11.3.

Severity

CVSS 3.1

3.8 low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th 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: partial, assessed 2026-06-26. 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-187 Partial String Comparison
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45692 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45692?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45692?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-45692 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.4.0 before 2.11.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x5w9-xh9r-mvfcGogithub.com/caddyserver/caddy/v2>=2.4.0 <2.11.32.11.3
GO-2026-5743Gogithub.com/caddyserver/caddy/v2>=2.4.0 <2.11.32.11.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12caddy2.6.2-5+deb12u1DEBIAN-CVE-2026-45692 DLA-4857-1
Debian13caddy2.6.2-12+deb13u1DEBIAN-CVE-2026-45692 DSA-6429-1
Debian14caddy2.11.4-1DEBIAN-CVE-2026-45692
Ubuntu25.10, 26.10, Pro:24.04:LTS and 1 morecaddyno fix listedUBUNTU-CVE-2026-45692
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
Alpinev3.23, v3.24caddy2.11.4-r0ALPINE-CVE-2026-45692

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 · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate-impact flaw in Caddy's remote administration API, which allows an authorization bypass due to differing interpretations of array indices, does not affect Red Hat products. The vulnerable code is not present in Red Hat's supported offerings.

Red Hat's mitigation

Mitigation for this issue is not required for Red Hat products, as the vulnerable code is not present.

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-45692.

References

Check your stackJSON