FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45062
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:05 UTC · Revision 1
Source evidence
FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files
core-osv · Original sourcePublished 10 Jun 2026, 17:38 UTC
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.
osv:CVE-2026-45062
Complete source record
{
"id": "37b95a1d5a03b17d6d5f9e2645bd6d8c4a8acac40c85ae5bb01544ba18878d12",
"url": "https://osv.dev/vulnerability/CVE-2026-45062",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FrankenPHP: Unsafe Unicode Handling in CGI Path Splitting Allows Execution of Non-PHP Files",
"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.",
"evidence": "osv:CVE-2026-45062",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-45062",
"aliases": [
"CVE-2026-45062",
"GHSA-3g8v-8r37-cgjm",
"GO-2026-5084"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/php/frankenphp",
"type": "GIT",
"events": [
{
"introduced": "3aa71fd4282f017b8a953332548b0bf89950119c"
},
{
"fixed": "86fb32e829cbb414df74e1f1c23855915d399ac5"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.11.2"
},
{
"fixed": "1.12.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "86fb32e829cbb414df74e1f1c23855915d399ac5"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.12.3"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.12.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v1.12.2",
"caddy/v1.12.2",
"v1.12.1",
"caddy/v1.12.1",
"v1.12.0",
"caddy/v1.12.0",
"v1.11.3",
"caddy/v1.11.3",
"v1.11.2",
"caddy/v1.11.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45062.json"
}
}
],
"modified": "2026-10-28T02:30:27.977698487Z",
"provider": "osv",
"references": [
"https://github.com/php/frankenphp/releases/tag/v1.12.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45062.json",
"https://github.com/php/frankenphp/security/advisories/GHSA-3g8v-8r37-cgjm",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45062"
],
"provider_metadata": {
"cwe_ids": [
"CWE-176",
"CWE-178",
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45062.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45062",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494838,
"published_at": "2026-06-10T17:38:42.454+00:00"
}