ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-27590

As a result, Caddy can derive an incorrect `SCRIPT_NAME`/`SCRIPT_FILENAME` and `PATH_INFO`, potentially causing a request that contains `.php` to execute a different on-disk file than intended (path…

CVSS
9.8Critical
Chance of exploitation (EPSS)
0.61%
Published
Feb 24, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A critical security flaw in Caddy that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Caddy
< 2.11.1

Description

Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's FastCGI path splitting logic computes the split index on a lowercased copy of the request path and then uses that byte index to slice the original path. This is unsafe for Unicode because `strings.ToLower()` can change UTF-8 byte length for some characters. As a result, Caddy can derive an incorrect `SCRIPT_NAME`/`SCRIPT_FILENAME` and `PATH_INFO`, potentially causing a request that contains `.php` to execute a different on-disk file than intended (path confusion). In setups where an attacker can control file contents (e.g., upload features), this can lead to unintended PHP execution of non-.php files (potential RCE depending on deployment). Version 2.11.1 fixes the issue.

CWE-20CWE-180

Affected products

Get alerts for these →

Timeline 6

Latest change: Tenable Cloud Security plugin 482837: Alpine: multiple caddy packages: security update to 2.11.1-r0 (Dec 3, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 3

  • github.com ExploitVendor Advisory /caddyserver/caddy/security/advisories/GHSA-5r3v-vc8m-m96g
  • github.com /caddyserver/caddy/releases/tag/v2.11.1
  • github.com /php/frankenphp/security/advisories/GHSA-g966-83w7-6w38

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”