{"id":"CVE-2026-65964","aliases":["CVE-2026-65964"],"related":[],"kind":"vulnerability","state":"published","title":"Pi-hole FTL: Log injection in webserver access-log writer chains to remote code execution via Lua-server-page evaluation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-17T20:57:41.365Z","modified":"2026-11-17T23:17:58.860Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"rating":"MEDIUM"}],"cwes":["CWE-94","CWE-117"],"affected":[{"ranges":[{"version":"< 6.7","status":"affected"}],"vendor":"pi-hole","product":"FTL","source":"cvelist"}],"references":[{"url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/FTL/pull/2935","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/FTL/pull/2936","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/FTL/releases/tag/v6.7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-17T22:17:39.675Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65964","url":"https://www.cve.org/CVERecord?id=CVE-2026-65964","licence":"CVE Terms of Use","modified":"2026-11-17T22:22:59.408Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65964","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65964","licence":"Public domain","modified":"2026-11-17T23:17:58.860Z"}],"updatedAt":"2026-11-25T22:59:51.241Z","epss":{"score":0.00433,"percentile":0.3941,"date":"2026-12-01T12:00:22.000Z"}}