Skip to main content

FrankenPHP CVE-2026-128025

| EUVDEUVD-2026-125077 MEDIUM
Interpretation Conflict (CWE-436)
2026-11-13 VulnCheck GHSA-xwc7-ppx8-9c7r
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted path /uploads/a.php.txt/b.php
  2. Exploit
    Route matcher admits path, deny rule/WAF misses multi-segment
  3. Execution
    splitPos splits at inner .php, executes protected uploads/a.php
  4. Impact
    Forge 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

frankenphp 0 <1.13.0

Affected Packages

euvd frankenphp fix: 1.13.0

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

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

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
emerging PHP app server, growing but still limited production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-24895 CRITICAL POC
9.8 Feb 12

CGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc

CVE-2026-24894 HIGH POC
7.5 Feb 12

FrankenPHP versions prior to 1.11.2 fail to properly isolate session data between worker requests, enabling cross-user s

CVE-2026-128027 CRITICAL
9.3 Nov 13

FrankenPHP Docker images before 1.1.11 were built only when an upstream base-image tag was created, so when Alpine, PHP,

CVE-2026-128014 CRITICAL
9.2 Nov 13

FrankenPHP standalone static binaries 1.8.0 through 1.13.1 can be crashed by a single unauthenticated request when appli

CVE-2026-128023 CRITICAL
9.1 Nov 13

An authentication bypass in FrankenPHP before 1.13.0 lets unauthenticated remote attackers spoof any trusted dash-form r

CVE-2026-128015 HIGH
8.3 Nov 13

A use-after-free in FrankenPHP releases before 1.13.4 leaves a dangling thread-local pointer to a freed environment sand

CVE-2026-128016 HIGH
8.3 Nov 13

Use-after-free in FrankenPHP worker mode (versions up to and including 1.13.3) lets remote clients trigger reads of free

CVE-2026-128024 HIGH
8.2 Nov 13

FrankenPHP releases before 1.13.0 abort the entire server process - every vhost, worker and in-flight request - when a c

CVE-2026-128020 HIGH
8.2 Nov 13

Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wid

CVE-2026-82416 HIGH
7.7 Oct 13

Unauthenticated remote attackers can obtain another client's PHP session identifier from FrankenPHP worker mode before 1

CVE-2026-128022 MEDIUM
6.9 Nov 13

Denial of service in FrankenPHP releases up to and including 1.13.1 allows unauthenticated remote clients to tie up the

CVE-2026-128026 MEDIUM
6.9 Nov 13

Cross-request environment leakage in FrankenPHP 1.5.0 through 1.12.7 allows secrets placed in the process environment by

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy