CVE-2026-45062: CWE-20: Improper Input Validation in php frankenphp
CVE-2026-45062 is a high-severity vulnerability in FrankenPHP, a modern PHP application server. Versions from 1. 11. 2 up to but not including 1. 12. 3 contain a flaw in the splitPos() function in cgi. go, which improperly handles non-ASCII bytes in request paths. This leads to misclassification of non-. php files as . php scripts, enabling remote code execution if an attacker can place files accessible by FrankenPHP.
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
CVE-2026-45062 is a high-severity vulnerability in FrankenPHP, a modern PHP application server. Versions from 1. 11. 2 up to but not including 1. 12. 3 contain a flaw in the splitPos() function in cgi. go, which improperly handles non-ASCII bytes in request paths. This leads to misclassification of non-. php files as . php scripts, enabling remote code execution if an attacker can place files accessible by FrankenPHP.
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: 6/10/2026, 6:17:20 PM
Last enriched: 6/10/2026, 6:26:35 PM
Last updated: 6/10/2026, 7:45:02 PM
Views: 14
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.