Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27587: CWE-178: Improper Handling of Case Sensitivity in caddyserver caddy

0
High
VulnerabilityCVE-2026-27587cvecve-2026-27587cwe-178
Published: Tue Feb 24 2026 (02/24/2026, 16:26:40 UTC)
Source: CVE Database V5
Vendor/Project: caddyserver
Product: caddy

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/04/2026, 18:49:53 UTC

Technical Analysis

CVE-2026-27587 is a vulnerability in the Caddy web server platform, specifically affecting versions prior to 2.11.1. Caddy's HTTP path request matcher is designed to be case-insensitive to facilitate flexible routing. However, when the path pattern includes percent-escape sequences (e.g., %xx encoding), the matcher compares the request's escaped path without converting it to lowercase. This improper handling of case sensitivity (CWE-178) allows an attacker to craft HTTP requests with altered casing in the percent-encoded segments of the URL path. Because the matcher does not normalize these sequences to lowercase, the attacker can bypass path-based routing rules and any access controls tied to those routes. This bypass can enable unauthorized access to protected resources or functionality. The vulnerability requires no authentication or user interaction and can be exploited remotely over the network. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on integrity. The issue was addressed in Caddy version 2.11.1 by ensuring proper case normalization of percent-encoded path segments during matching. No public exploit code or active exploitation has been reported to date, but the nature of the flaw makes it a significant risk for affected deployments.

Potential Impact

The vulnerability allows attackers to circumvent path-based routing and access control mechanisms by manipulating the case of percent-encoded characters in URL paths. This can lead to unauthorized access to sensitive endpoints, potentially exposing confidential data or enabling unauthorized operations. Since Caddy is often used as a TLS-enabled web server and reverse proxy, exploitation could compromise web applications behind it, undermining confidentiality and integrity. The lack of authentication or user interaction requirements makes exploitation straightforward for remote attackers. Organizations relying on vulnerable Caddy versions may face data breaches, service misuse, or further compromise of backend systems. The impact is particularly critical for environments where path-based routing enforces security boundaries or restricts access to administrative or sensitive functions.

Mitigation Recommendations

Organizations should immediately upgrade all Caddy server instances to version 2.11.1 or later, where the vulnerability is fixed. Until upgrades can be applied, administrators should audit and tighten access control policies to avoid relying solely on path-based routing for security enforcement. Implement additional layers of authentication and authorization checks at the application level to prevent unauthorized access. Monitoring and logging HTTP requests for unusual casing patterns in percent-encoded paths can help detect attempted exploitation. Network-level protections such as web application firewalls (WAFs) can be configured to normalize URL encoding and block suspicious requests. Regularly review and update server software and dependencies to incorporate security patches promptly. Finally, conduct penetration testing focusing on URL encoding edge cases to validate the robustness of routing and access controls.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-20T17:40:28.450Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 699e0f3bbe58cf853b2906da

Added to database: 2/24/2026, 8:51:07 PM

Last enriched: 3/4/2026, 6:49:53 PM

Last updated: 4/10/2026, 8:38:17 PM

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses