User-Agent Injection Vulnerability in Pi-hole FTL Product
CVE-2026-65964
What is CVE-2026-65964?
The Pi-hole FTL engine, responsible for network-level advertisement and tracker blocking, has a vulnerability that allows attackers to manipulate logs due to inadequate output sanitization. Specifically, when debug.api is enabled, user-controlled User-Agent strings are written to the access log without proper neutralization. If a filename aligns with the webserver's Lua server page configuration, an attacker can craft an unauthenticated request to insert malicious Lua markup into the log. This could lead to execution of arbitrary commands running as the Pi-hole system user, which may compromise sensitive configuration, credentials, databases, and logs. Even without Lua execution, log forgery remains a risk due to the ability to inject malicious entries into the log file. The issue is addressed in version 6.7.
Affected Version(s)
FTL < 6.7
