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

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

June 16, 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. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.0.5

Solution

Unfortunately, there is no solution available yet.

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/CVE-2026-52844.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 18 Jun 2026 12:20:30 +0000.