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

CVE-2026-27587: Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass

February 24, 2026 (updated February 27, 2026)

Caddy’s HTTP path request matcher is intended to be case-insensitive, but when the match pattern contains percent-escape sequences (%xx) it compares against the request’s escaped path without lowercasing. An attacker can bypass path-based routing and any access controls attached to that route by changing the casing of the request path.

References

  • github.com/advisories/GHSA-g7pc-pc7g-h8jh
  • github.com/caddyserver/caddy
  • github.com/caddyserver/caddy/commit/a1081194bfae4e0d8c227ec44aecb95eded55d1e
  • github.com/caddyserver/caddy/releases/tag/v2.11.1
  • github.com/caddyserver/caddy/security/advisories/GHSA-g7pc-pc7g-h8jh
  • nvd.nist.gov/vuln/detail/CVE-2026-27587
  • pkg.go.dev/vuln/GO-2026-4538

Code Behaviors & Features

Detect and mitigate CVE-2026-27587 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 before 2.11.1

Fixed versions

  • 2.11.1

Solution

Upgrade to version 2.11.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-178: Improper Handling of Case Sensitivity

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 25 Mar 2026 00:17:11 +0000.