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

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-17T20:57:41.365Z
- Modified: 2026-11-17T23:17:58.860Z
- Weaknesses: CWE-94, CWE-117
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pi-hole FTL: < 6.7

## References

- <https://github.com/pi-hole/FTL/security/advisories/GHSA-g7v8-8q8f-hprp>
- <https://github.com/pi-hole/FTL/pull/2935>
- <https://github.com/pi-hole/FTL/pull/2936>
- <https://github.com/pi-hole/FTL/commit/07fe23439b644fe47649690595fb647b0e76e367>
- <https://github.com/pi-hole/FTL/releases/tag/v6.7>

## Sources

- CVE List: [CVE-2026-65964](https://www.cve.org/CVERecord?id=CVE-2026-65964), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-65964](https://nvd.nist.gov/vuln/detail/CVE-2026-65964), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-65964 · Whole record: https://cve.day/CVE-2026-65964.json · Rebuilt by cve.day 2026-11-25T22:59:51.241Z
