{"id":"CVE-2026-65964","aliases":["GHSA-g7v8-8q8f-hprp"],"title":"Pi-hole FTL: Log injection in webserver access-log writer chains to remote code execution via Lua-server-page evaluation","originalDescription":"Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. Prior to 6.7, log_http_access in src/webserver/webserver.c writes attacker-controlled User-Agent content to the access log without output neutralization when debug.api is enabled. If an administrator configures files.log.webserver inside webserver.paths.webroot with a filename matching lua_server_page_pattern, an unauthenticated request can plant Lua markup in that log and a later request can cause CivetWeb to evaluate the log as a Lua server page. The resulting commands run as the pihole operating-system user and can access or modify pihole-owned configuration, credentials, databases, logs, and rendered interface content. When the log is not served through the Lua handler, the same unneutralized writer still permits log forgery and downstream log-parser injection. This issue is fixed in version 6.7.","severity":{"cvss":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00433,"percentile":0.39397},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp","type":"x_refsource_CONFIRM"},{"url":"https://github.com/pi-hole/FTL/pull/2935","type":"x_refsource_MISC"},{"url":"https://github.com/pi-hole/FTL/pull/2936","type":"x_refsource_MISC"},{"url":"https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367","type":"x_refsource_MISC"},{"url":"https://github.com/pi-hole/FTL/releases/tag/v6.7","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65964.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65964","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-17T23:27:07.218Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65964","license":"NVD terms of use","firstSeenAt":"2026-11-17T21:48:30.350Z"},{"name":"osv","at":"2026-11-19T01:51:21.797Z","url":"https://osv.dev/vulnerability/CVE-2026-65964","license":"CC-BY 4.0","firstSeenAt":"2026-11-17T23:27:33.791Z"},{"name":"cvelistV5","at":"2026-11-19T21:46:53.619Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-65964","license":"CVE Terms of Use","firstSeenAt":"2026-11-17T21:12:58.987Z"}],"firstSeenAt":"2026-11-17T21:12:58.987Z","publishedAt":"2026-11-17T20:57:41.365Z","modifiedAt":"2026-11-19T01:04:18.378Z"}