Skip to main content
← All vulnerabilities
CVE-2026-45062GO-2026-5084GHSA-3G8V-8R37-CGJM

FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • php frankenphp

    From 1.11.2 · fixed in 1.12.3

  • github.com/dunglas/frankenphpGo

    From 1.11.2 · fixed in 1.12.3

References 2

GitHub · php/frankenphp