Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted path /uploads/a.php.txt/b.php
-
ExploitRoute matcher admits path, deny rule/WAF misses multi-segment
-
ExecutionsplitPos splits at inner .php, executes protected uploads/a.php
-
ImpactForge PATH_INFO/SCRIPT_NAME/PHP_SELF to steer app logic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | Two distinct conditions per the advisory. Primary scenario: a FrankenPHP (<1.13.0) deployment using php_server with 'index off', where a protected .php file (e.g. an upload-area backup, preview/thumbnail handler, or admin/cron helper) exists under the document root and is shielded only by route-level/WAF extension deny rules - here exploitation is unauthenticated and remote (PR:N). Secondary scenario: default-index deployments, where the attacker must first create a directory whose name embeds '.php' (e.g. via an archive-extraction or upload-to-directory feature), making it effectively PR:L. Limiting factors: the target .php script must already exist under docroot, the executed file always ends in .php (no arbitrary non-PHP execution), and impact is confined to executing already-present protected scripts plus forging PATH_INFO/SCRIPT_NAME/PHP_SELF for apps that derive state from them. Complete fix is updating to 1.13.0 as stated by the vendor. |
| Impact | This is a genuine but moderate-priority issue, best characterized as a security-control-bypass rather than a direct code-execution flaw. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 and the advisory's own CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N = 6.5) agree on a network-reachable, low-complexity, unauthenticated primitive with Low confidentiality and Low integrity impact and no availability impact. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with a real-but-not-urgent priority. There is no CISA KEV listing in the input, so this is NOT confirmed actively exploited, and no EPSS score was supplied to gauge exploitation probability - that signal is missing. Crucially, CVSS scores the primary 'index off' configuration as PR:N, but the advisory itself states the default-index configuration requires the attacker to first create a '.php'-embedded directory name, dropping it to PR:L (CVSS 5.4); so real-world privilege requirements depend on deployment mode. The impact is bounded: the executed file always ends in '.php' and must already exist under the document root, so this bypasses execution protections on existing scripts and allows PATH_INFO/SCRIPT_NAME/PHP_SELF forgery - it does not grant arbitrary non-PHP file execution. Net: treat as a legitimate patch-this-cycle item, not a drop-everything emergency, absent exploitation evidence. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends an HTTP request such as /uploads/a.php.txt/b.php to a FrankenPHP server; Caddy's route matcher admits the path (it ends in .php) and its deny/WAF rules do not match the multi-segment path, but FrankenPHP's splitPos splits at the inner .php and executes uploads/a.php - a script the operator intended to be non-executable. A public PoC reference exists in the GHSA advisory (full loopback reproduction steps against binary v1.12.7); it is not verified as working exploit code in the input. The network attack vector and low complexity (AV:N/AC:L) mean the request is a single crafted URL with no special timing or interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Unauthenticated remote attackers can bypass extension-based execution protections in FrankenPHP before 1.13.0 and cause PHP scripts that route-level deny rules or an external WAF are meant to block to be executed. The CGI path splitter (splitPos in cgi.go) splits on the first .php substring anywhere in the path rather than at a segment boundary, so a request such as /uploads/a.php.txt/b.php is admitted by the php_server matcher because it ends in .php, yet FrankenPHP executes uploads/a.php and delivers the attacker-chosen .txt/b.php as PATH_INFO, also forging SCRIPT_NAME and PHP_SELF. The primary unauthenticated scenario is a php_server deployment with 'index off' that holds a protected .php file under the document root; in default-index deployments the attacker must first create a directory whose name embeds .php, which effectively requires a prior foothold. A vendor fix is available in 1.13.0, and no public exploit was identified at time of analysis beyond the advisory's own local reproduction.
RemediationAI
The vendor-released patch is FrankenPHP 1.13.0; upgrading to that version is the complete fix, and Go builds should move the module go/github.com/dunglas/frankenphp to 1.13.0 rather than remaining on <= 1.12.7. Upgrade details are in the GHSA advisory at https://github.com/php/frankenphp/security/advisories/GHSA-xxjp-cjxr-2x6m. Extension-based route-level deny rules (for example a Caddy path matcher such as /uploads/*.php) and external WAF filters are not effective mitigations here: because the deny pattern's '*' cannot span '/', a request like /uploads/a.php.txt/b.php never matches the block while still being admitted to the PHP handler and split at the inner .php, so such rules give a false sense of protection until the splitter is patched. Note that the practical exposure is bounded by the precondition that a vulnerable protected .php script must already exist under the document root and by the fact that the executed file always ends in .php, but that bound should be treated as a scoping factor rather than a substitute for the update.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-436 (Interpretation Conflict) between two components that read the same request path with different segment semantics. FrankenPHP serves PHP using classic CGI PATH_INFO semantics: splitPos (cgi.go) performs a case-insensitive raw substring search for the configured split string (default ".php") and returns the index just past the first match, with no requirement that the match end at a path-segment boundary. splitCgiPath then derives docURI = path[:splitPos], pathInfo = path[splitPos:], scriptName = docURI and scriptFilename = sanitizedPathJoin(documentRoot, scriptName), and that scriptFilename is what the PHP SAPI executes. Caddy's sibling splitter, MatchFile.firstSplit in modules/caddyhttp/fileserver/matcher.go, implements the same case-insensitive search but explicitly skips a split when the following byte is neither end-of-path nor '/', precisely to avoid treating a .php occurrence embedded inside a filename component (for example a.php.txt) as a split point. The admission side compounds the divergence: the php_server route matcher uses the pattern *.php (leading '*' takes Caddy's suffix fast path, strings.HasSuffix(path, ".php")), so multi-segment paths ending in .php are admitted, while a hardened deny rule such as /uploads/*.php uses Go path.Match glob semantics in which '*' cannot span '/', so it only denies immediate children of /uploads and never the multi-segment bypass path. The same splitPos function received two earlier security fixes this year for adjacent split-confusion classes (CVE-2026-24895 / GHSA-g966-83w7-6w38 and CVE-2026-45062 / GHSA-3g8v-8r37-cgjm); neither added the missing boundary guard, so the substring-match primitive survived. The advisory documents a fully local, loopback-bound reproduction against the official v1.12.7 static binary plus differential parity testing of splitPos against firstSplit over an adversarial path corpus. Impact is bounded: the executed file always ends in .php, so arbitrary non-PHP execution is not involved, and the target script must already exist under the document root.
Know when Frankenphp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Remote single-request bypass with no auth in the index-off scenario gives AV:N/AC:L/PR:N/UI:N; protected-script output disclosure is C:L and forced execution plus path-variable spoofing is I:L, with no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
FrankenPHP before 1.13.0 contains a path-split interpretation conflict in splitPos in cgi.go that allows unauthenticated attackers to execute protected PHP scripts by embedding .php inside a filename component. Attackers can request paths like /uploads/a.php.txt/b.php to execute uploads/a.php despite route-level or WAF deny rules and forge PATH_INFO, SCRIPT_NAME, and PHP_SELF values.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Frankenphp
View allCGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc
FrankenPHP versions prior to 1.11.2 fail to properly isolate session data between worker requests, enabling cross-user s
FrankenPHP Docker images before 1.1.11 were built only when an upstream base-image tag was created, so when Alpine, PHP,
FrankenPHP standalone static binaries 1.8.0 through 1.13.1 can be crashed by a single unauthenticated request when appli
An authentication bypass in FrankenPHP before 1.13.0 lets unauthenticated remote attackers spoof any trusted dash-form r
A use-after-free in FrankenPHP releases before 1.13.4 leaves a dangling thread-local pointer to a freed environment sand
Use-after-free in FrankenPHP worker mode (versions up to and including 1.13.3) lets remote clients trigger reads of free
FrankenPHP releases before 1.13.0 abort the entire server process - every vhost, worker and in-flight request - when a c
Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wid
Unauthenticated remote attackers can obtain another client's PHP session identifier from FrankenPHP worker mode before 1
Denial of service in FrankenPHP releases up to and including 1.13.1 allows unauthenticated remote clients to tie up the
Cross-request environment leakage in FrankenPHP 1.5.0 through 1.12.7 allows secrets placed in the process environment by
EUVD-2026-125077
GHSA-xwc7-ppx8-9c7r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB