CVE-2026-92700

Caddy: fileHidden() case-sensitive pattern bypass — exposes "hidden" files via case variation

Published Sep 23, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Caddy is an extensible server platform that uses TLS by default. In version 2.11.3 and earlier, in modules/caddyhttp/fileserver/staticfiles.go, fileHidden() uses case-sensitive filepath.Match checks, so case variants can bypass hide rules on case-insensitive filesystems or when mixed-case paths coexist and expose files intended to be hidden.

Analysis

AI-generated

Technical impact

Caddy's fileHidden function relies on case‑sensitive filepath.Match to enforce hide rules. In releases 2.11.3 and earlier, this strict case checking allows files that match a hidden pattern only in a different case to slip through, making files intended to remain hidden accessible to attackers. The vulnerability can lead to unintended disclosure of sensitive configuration or application files, compromising confidentiality and potentially aiding further attacks.

Affected Systems

Caddy server platform, version 2.11.3 and earlier.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity flaw, and although no EPSS score is currently available, the lack of a KEV listing suggests it is not a actively exploited vulnerability at present. The likely attack vector is remote, through an HTTP request that targets a hidden file under a case‑variant path. Exploitation requires that the filesystem is case‑insensitive or that the server undergoes mixed‑case path resolution, which is common on Windows or non‑standard mount options. An attacker who can read the exposed file may gain sensitive information that could assist in privilege escalation or further compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Caddy to the latest release (2.11.4 or newer) where the fileHidden logic has been corrected.
  • Verify that no vital files remain in directories that should be hidden, or adjust the hide patterns to be case‑insensitive if the filesystem is case‑insensitive.
  • Configure the web server or reverse proxy to deny HTTP access to directories or patterns that contain hidden configuration files, adding an additional layer of protection.
  • If immediate version upgrade is not feasible, restrict access to the application from untrusted networks or use firewall rules to limit inbound HTTP traffic to known hosts.

Generated by OpenCVE AI on September 23, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Caddyserver
Caddyserver caddy
Vendors & Products Caddyserver
Caddyserver caddy
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Caddy is an extensible server platform that uses TLS by default. In version 2.11.3 and earlier, in modules/caddyhttp/fileserver/staticfiles.go, fileHidden() uses case-sensitive filepath.Match checks, so case variants can bypass hide rules on case-insensitive filesystems or when mixed-case paths coexist and expose files intended to be hidden.
Title Caddy: fileHidden() case-sensitive pattern bypass — exposes "hidden" files via case variation
Weaknesses CWE-178
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 7:23 PM
Reserved
Sep 16, 2026, 4:22 PM
Status
Deferred
Published
Sep 23, 2026, 7:19 PM
Modified
Sep 30, 2026, 4:42 PM