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.
Published: 2026-09-23
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Insecure exposure of files intended to be hidden via case‑variant bypass
Action: Patch or Update
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 23 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Caddyserver
Caddyserver caddy
Vendors & Products Caddyserver
Caddyserver caddy

Wed, 23 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 23 Sep 2026 18:30:00 +0000

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'}


Subscriptions

Caddyserver Caddy
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T19:23:08.504Z

Reserved: 2026-09-16T16:22:31.542Z

Link: CVE-2026-92700

cve-icon Vulnrichment

Updated: 2026-09-23T19:22:53.698Z

cve-icon NVD

Status : Received

Published: 2026-09-23T19:19:44.280

Modified: 2026-09-23T20:17:22.137

Link: CVE-2026-92700

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T20:30:09Z

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity