---
id: "CVE-2026-128025"
page: "https://infrastack.ai/live/CVE-2026-128025"
kind: "vulnerability"
aliases: ["CVE-2026-128025"]
title: "FrankenPHP: path-split bug lets requests run protected PHP scripts"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["frankenphp", "php", "runtime", "self-hosted", "waf"]
not_affected_if: ["frankenphp-1.13.0-or-later", "no-php-uploads"]
published_at: "2026-11-13T10:18:08+00:00"
first_seen_at: "2026-11-13T10:47:31+00:00"
updated_at: "2026-11-13T10:54:36+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128025", "first_seen_at": "2026-11-13T10:47:31+00:00"}]
exploit_sources: []
---

# FrankenPHP: path-split bug lets requests run protected PHP scripts

Link for people: https://infrastack.ai/live/CVE-2026-128025 (this .md is for agents)

FrankenPHP before 1.13.0 splits request paths in a way that can differ from how routing and WAF rules read them. An unauthenticated attacker can request a path such as /uploads/a.php.txt/b.php to run a PHP script that deny rules were meant to block.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the FrankenPHP version with `frankenphp version` or the version in your build or container image.
- Look for upload or user-content directories that serve PHP files, and for route or WAF rules that block PHP paths.

## Fix

- FrankenPHP: move to `1.13.0` or later.

## Timeline

- 2026-11-13T10:47:31+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-128025

## Documents

- [advisory] Vendor advisory: github.com https://github.com/php/frankenphp/security/advisories/GHSA-xxjp-cjxr-2x6m
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/frankenphp-before-1.13.0-cgi-path-split-boundary-bypass-via-splitpos

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
