Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/caddyserver/caddy/v2
  4. ›
  5. CVE-2026-52844

CVE-2026-52844: Caddy: Windows `file_server` path authorization bypass via encoded backslash

June 16, 2026 (updated July 20, 2026)

On Windows, Caddy path matchers treat /private\secret.txt as outside /private/*, but file_server later resolves the same request path as private\secret.txt on disk.

An unauthenticated remote client can request /private%5csecret.txt and bypass Caddy path-scoped auth/deny routes protecting /private/*.

References

  • github.com/advisories/GHSA-qrp7-cvwr-j2c6
  • github.com/caddyserver/caddy/security/advisories/GHSA-qrp7-cvwr-j2c6
  • nvd.nist.gov/vuln/detail/CVE-2026-52844

Code Behaviors & Features

Detect and mitigate CVE-2026-52844 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.11.4

Fixed versions

  • 2.11.4

Solution

Upgrade to version 2.11.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-284: Improper Access Control

Source file

go/github.com/caddyserver/caddy/v2/CVE-2026-52844.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:22 +0000.