Skip to content
FlawDB
Sign in

CVE-2026-65964

MEDIUM 6.6EPSS 40%

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

Mitigation

  • Upgrade FTL to 6.7 or later.

Who should check

  • Anyone running pi-hole FTL < 6.7

Vulnerability facts

Affected
pi-hole FTL < 6.7
Fixed in
pi-hole FTL 6.7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.55% chance of exploitation in 30 days (percentile 40, 2026-11-28)
CWE
CWE-94, CWE-117
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
pi-hole FTL< 6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-65964. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-65964.md
Affected: pi-hole FTL < 6.7
Fixed in: pi-hole FTL 6.7

Steps:
1. Search this machine and project for pi-hole FTL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-65964 being exploited?

There is no confirmed exploitation: CVE-2026-65964 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-65964?

Medium: CVSS 6.6 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-65964?

pi-hole FTL < 6.7.

Is there a fix for CVE-2026-65964?

Yes. Fixed in pi-hole FTL 6.7. Upgrade FTL to 6.7 or later.

How do I check if I'm affected by CVE-2026-65964?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
CRITICAL 9.2CVE-2025-62165

Pi-hole FTL: WebUI (& API) DoS mechanism - Lack of rate limiting : Silent CPU consumption and/or Log file expansion

pi-hole
EPSS 52%
HIGH 7.2CVE-2026-65963

Pi-hole FTL: Remote Code Execution (RCE) via CivetWeb Configuration Injection

pi-hole
EPSS 51%
HIGH 8.8CVE-2026-71304

Pi-hole FTL: Session Expiration Bypass

pi-hole
EPSS 56%
LOW 3.5CVE-2026-65966

Pi-hole FTL: CRLF Injection / HTTP Header Injection via Group Name

pi-hole
EPSS 23%
Sponsors