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

Published Nov 17, 2026
·
Updated

Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. From 6.6.2 until 6.7, PATCH /api/config accepts unfiltered CivetWeb lua options through webserver.advancedOpts, while POST /api/teleporter writes attacker-controlled content from a dhcp.leases archive entry through src/zip/teleporter.c without content validation. An authenticated administrator can place controlled file content on disk, point a Lua execution option at that file, and rely on the advancedOpts configuration change to restart FTL. CivetWeb then executes the file as Lua through the processing in src/webserver/webserver.c, allowing arbitrary commands to run as the pihole operating-system user and persist across restarts while the configuration and file remain. This issue is fixed in version 6.7.

Affected Software

1 affected component
Pi-hole FTL>=6.6.2<6.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.7

Event History

Nov 17, 2026
CVE Published
via MITRE·08:51 PM
Data Sourced
via MITRE·08:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated Pi-hole administrator can exploit it. The attack requires access to both the configuration API and the Teleporter import endpoint.

2

Which deployments are affected?

Pi-hole FTL versions from 6.6.2 up to, but not including, 6.7 are affected. The issue is fixed in version 6.7.

3

What access does successful exploitation provide?

An attacker can execute arbitrary commands as the pihole operating-system user. The execution can persist across restarts while the attacker-controlled file and configuration remain.

4

How can administrators check for possible exploitation?

Review FTL configuration for attacker-controlled CivetWeb lua_* options in webserver.advancedOpts, and inspect for unexpected files that could be referenced by Lua execution settings. Also review use of the Teleporter endpoint and imported dhcp.leases archive content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203