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.
Severity (CVSS)
| Base score | 6.6 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-94 — CWE-94: Improper Control of Generation of Code
- CWE-117 — CWE-117: Improper Output Neutralization for Logs
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pi-hole | FTL | < 6.7 [affected] |
References
- https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp (x_refsource_CONFIRM)
- https://github.com/pi-hole/FTL/pull/2935 (x_refsource_MISC)
- https://github.com/pi-hole/FTL/pull/2936 (x_refsource_MISC)
- https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367 (x_refsource_MISC)
- https://github.com/pi-hole/FTL/releases/tag/v6.7 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 18 Nov 2026 08:08 UTC.