CVE-2026-45062: CWE-20: Improper Input Validation in php frankenphp
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.
AI Analysis
Technical Summary
FrankenPHP versions >=1.11.2 and <1.12.3 have an improper input validation vulnerability in the splitPos() function within cgi.go. The function misuses golang.org/x/text/search with search.IgnoreCase when processing request paths containing non-ASCII bytes. Two distinct flaws in this fallback logic allow an attacker to trick FrankenPHP into treating non-.php files as .php scripts. If an attacker can upload or place files served by FrankenPHP, they can craft URLs that trigger these flaws to achieve remote code execution. The vulnerability is addressed in FrankenPHP version 1.12.3.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code remotely by causing FrankenPHP to interpret non-.php files as PHP scripts. This can lead to full system compromise in deployments where attackers can place files served by FrankenPHP. The CVSS 3.1 base score is 8.1, reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A patch is available in FrankenPHP version 1.12.3 that fixes this vulnerability. Users should upgrade to version 1.12.3 or later to remediate this issue. Since this is a cloud service, the vendor manages remediation for hosted environments; users should verify with the vendor that their service is updated. No additional mitigation steps are specified by the vendor advisory.
CVE-2026-45062: CWE-20: Improper Input Validation in php frankenphp
Description
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.
CVSS v3.1
Score 8.1high
Affected software
pkg:golang/github.com/php/frankenphpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FrankenPHP versions >=1.11.2 and <1.12.3 have an improper input validation vulnerability in the splitPos() function within cgi.go. The function misuses golang.org/x/text/search with search.IgnoreCase when processing request paths containing non-ASCII bytes. Two distinct flaws in this fallback logic allow an attacker to trick FrankenPHP into treating non-.php files as .php scripts. If an attacker can upload or place files served by FrankenPHP, they can craft URLs that trigger these flaws to achieve remote code execution. The vulnerability is addressed in FrankenPHP version 1.12.3.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code remotely by causing FrankenPHP to interpret non-.php files as PHP scripts. This can lead to full system compromise in deployments where attackers can place files served by FrankenPHP. The CVSS 3.1 base score is 8.1, reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A patch is available in FrankenPHP version 1.12.3 that fixes this vulnerability. Users should upgrade to version 1.12.3 or later to remediate this issue. Since this is a cloud service, the vendor manages remediation for hosted environments; users should verify with the vendor that their service is updated. No additional mitigation steps are specified by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-08T18:45:10.095Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a29aa301a4077f7803bc16c
Added to database: 06/10/2026, 18:17:20 UTC
Last enriched: 06/10/2026, 18:26:35 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 130
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.