CVE-2026-65964: Pi-hole FTL Code Injection
Published 2026-11-17 · Updated 2026-11-17 · Source security-advisories@github.com
Not known to be exploited · medium severity — update Pi-hole FTL to 6.7 or later on your normal schedule.
What to do
- Update Pi-hole FTL to version 6.7 or later. Versions before 6.7 are affected.
- Until it is patched, restrict network access to Pi-hole FTL and review which accounts can log in to it.
- Restrict access to the affected feature to trusted users and networks until the fix is applied.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Pi-hole FTL | < 6.7 | 6.7 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs administrative privileges, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | High | The attacker needs administrative privileges. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness: Code Injection
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367
- Patchhttps://github.com/pi-hole/FTL/pull/2935
- Patchhttps://github.com/pi-hole/FTL/pull/2936
- Patchhttps://github.com/pi-hole/FTL/releases/tag/v6.7
- Advisoryhttps://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp