CVE-2026-27587: Vulnerability in Caddyserver Caddy

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

Go, CWE-178

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-g7pc-pc7g-h8jh
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-178
Published
24 Feb 2026
Last change
17 Jun 2026
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Caddyserver Caddy From 2.10.2 before 2.11.1. Fixed in 2.11.1

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/caddyserver/caddy/v2 Go, Affected before 2.11.1. Fixed in 2.11.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related