CVE-2026-65964

published 17 Nov 2026 · updated 17 Nov 2026

Pi-hole FTL: Log injection in webserver access-log writer chains to remote code execution via Lua-server-page evaluation

6.6MediumCVSS 6.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Pi-holeFTL<6.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Pi-hole, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-65964 severity on Zeptric[![CVE-2026-65964](https://zeptric.io/badge/cve/CVE-2026-65964.svg)](https://zeptric.io/cve/CVE-2026-65964)