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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-17 · Modified: 2026-11-17
- Record: https://cvemate.com/vulnerability/CVE-2026-65964 · JSON: https://cvemate.com/vulnerability/CVE-2026-65964/json

## Description

```text
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.
```

## Signals

- CVSS: 6.6 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.433%, percentile 39.397%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

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

---

Data as of 2026-12-06T07:23:02.526Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
