{"answers":{"affected":"3 open source packages ship an affected version, including github.com/dunglas/frankenphp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-24895 in the wild and no public exploit code.","fix":"Upgrade github.com/dunglas/frankenphp to 1.11.2 or later.","what":"CVE-2026-24895 is a high-severity path traversal vulnerability in frankenphp, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-24895 and fix it if it is affected.\n\nWhat it is: CVE-2026-24895 is a high-severity path traversal vulnerability in frankenphp, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-24895 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/dunglas/frankenphp (Go): affected all versions; fixed in 1.11.2\n- github.com/dunglas/frankenphp (Go): affected all versions; fixed in 1.11.2\n- github.com/dunglas/frankenphp (Go): affected all versions; fixed in 1.11.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24895/ (Markdown: https://insights.sbomify.com/CVE-2026-24895/index.md)","id":"CVE-2026-24895","markdown":"https://insights.sbomify.com/CVE-2026-24895/index.md","name":"CVE-2026-24895","record":{"aliases":["GHSA-g966-83w7-6w38","GO-2026-4486"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP application server","requires_auth":"none","summary":"Attackers can execute arbitrary files by exploiting Unicode casing flaws in CGI path splitting, allowing unauthorized code execution on the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"frankenphp","vendor":"php"}],"cvss":{"score":8.9,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files","id":"CVE-2026-24895","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"OpenEMR has Broken Access Control that allows unauthorized access to EDI Logs","id":"CVE-2026-24896"},"packages":[{"ecosystem":"Go","fixed":["1.11.2"],"introduced":["0"],"last_affected":[],"package":"github.com/dunglas/frankenphp","purl":null,"source":"GHSA-g966-83w7-6w38"},{"ecosystem":"Go","fixed":["1.11.2"],"introduced":["0"],"last_affected":[],"package":"github.com/dunglas/frankenphp","purl":"pkg:golang/github.com/dunglas/frankenphp","source":"GHSA-g966-83w7-6w38"},{"ecosystem":"Go","fixed":["1.11.2"],"introduced":["0"],"last_affected":[],"package":"github.com/dunglas/frankenphp","purl":"pkg:golang/github.com/dunglas/frankenphp","source":"GO-2026-4486"}],"prev":{"headline":"FrankenPHP leaks session data between requests in worker mode","id":"CVE-2026-24894"},"products":["frankenphp"],"published":"2026-02-12","related":[{"cvss_score":8.7,"headline":"FrankenPHP leaks session data between requests in worker mode","id":"CVE-2026-24894","kev_date_added":null,"published":"2026-02-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-12","vendors":["php"]},"summary":"Attackers can execute arbitrary files by exploiting Unicode casing flaws in CGI path splitting, allowing unauthorized code execution on the server.","url":"https://insights.sbomify.com/CVE-2026-24895/"}