CVE-2026-45062
HighCVSS 8.1Exploitation Probability (EPSS)
Elevated risk53th percentile - higher than 53% of all known CVEs
Summary
FrankenPHP is a modern application server for PHP, which in versions from 1.11.2 to before 1.12.3 has an issue in the splitPos() function in cgi.go. This flaw allows an attacker to mislead the server into treating a non-PHP file as a PHP script, potentially leading to remote code execution.
Risk Assessment
Organizations that allow file uploads to the FrankenPHP server are at serious risk of remote code execution, which could lead to data loss or system takeover.
Recommendation
It is recommended to update FrankenPHP to version 1.12.3 or newer to mitigate this vulnerability. Additionally, implementing further security measures regarding file uploads is advisable.
Other vulnerabilities in FrankenPHP
See all- CVE-2026-85733Medium
FrankenPHP is a modern application server for PHP. Prior to 1.12.5, the official FrankenPHP Debian and Alpine Docker images include a default /app/public/index.php that executes phpinfo(). A derived image that does not overwrite this placeholder serves the diagnostics page in production and can disclose environment variables used for secrets, PHP configuration directives, loaded extensions, software versions, and system paths. Images built using the documented pattern with their own /app/public/index.php are not affected, and already derived images must be rebuilt or supplied with an application index to remove the exposed placeholder. This issue is fixed in version 1.12.5.
- CVE-2026-82416High
FrankenPHP is a modern application server for PHP. Prior to 1.12.5, in worker mode, when the session extension is loaded as a shared module, PHP session state can be retained between requests, leading to cross-user session exposure and possible session hijacking.
Original NVD description (English source)
FrankenPHP is a modern application server for PHP. From version 1.11.2 to before version 1.12.3, the splitPos() function in cgi.go misuses golang.org/x/text/search with search.IgnoreCase when the request path contains a non-ASCII byte. Two distinct flaws in that fallback let an attacker mislead FrankenPHP into treating a non-.php file as a .php script. In any deployment where the attacker can place content into a file served by FrankenPHP (uploads, file storage, etc.), this can be escalated to remote code execution by crafting a URL whose path triggers either flaw. This issue has been patched in version 1.12.3.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

