← VULNERABILITIES

CVE-2026-65964

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

Medium · 6.6
CVSS
6.6
EPSS
0.43% (p39)
Published
2026-11-17
Age
19d old
Modified
2026-11-19
Product
pi-hole FTL
Aliases
GHSA-g7v8-8q8f-hprp

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Description

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.

Sources

  • NVD · first seen 19d ago · NVD terms of use
  • OSV · first seen 19d ago · CC-BY 4.0
  • CVE List · first seen 19d ago · CVE Terms of Use

References

JSON