{
  "id": "CVE-2026-24895",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-24895",
  "published_at": "2026-02-12T19:16:06.618Z",
  "title": "FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files",
  "vendor": "php",
  "product": "frankenphp",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FrankenPHP is a modern application server for PHP. Prior to 1.11.2, FrankenPHP’s CGI path splitting logic improperly handles Unicode characters during case conversion. The logic computes the split index (for finding .php) on a lowercased copy of the request path but applies that byte index to the original path. Because strings.ToLower() in Go can increase the byte length of certain UTF-8 characters (e.g., Ⱥ expands when lowercased), the computed index may not align with the correct position in the original string. This results in an incorrect SCRIPT_NAME and SCRIPT_FILENAME, potentially causing FrankenPHP to execute a file other than the one intended by the URI. This vulnerability is fixed in 1.11.2.",
  "cwe": "CWE-180",
  "cpes": [
    "cpe:2.3:a:php:frankenphp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.9,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "php",
        "product": "frankenphp",
        "ranges": [
          "\u003c 1.11.2"
        ],
        "fixed_in": [
          "1.11.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade frankenphp to 1.11.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/php/frankenphp/releases/tag/v1.11.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
