Improper Handling of Case Sensitivity Affecting caddy package, versions <2.11.2-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-CADDY-15805113
  • published29 Mar 2026
  • disclosed24 Feb 2026

Introduced: 24 Feb 2026

CVE-2026-27587  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 caddy to version 2.11.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream caddy package and not the caddy package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, 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. Version 2.11.1 contains a fix for the issue.

CVSS Base Scores

version 3.1