CVE-2026-65963 Pi-hole FTL: Remote Code Execution (RCE) via CivetWeb Configuration Injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pi-hole FTL | = >= 6.6.2, < 6.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pi-hole FTL | = >= 6.6.2, < 6.7 | No fix listed |
References
- https://github.com/pi-hole/FTL/commit/eb6ca080666788e16cd9405fd5899536d66c4947
- https://github.com/pi-hole/FTL/pull/2935
- https://github.com/pi-hole/FTL/pull/2936
- https://github.com/pi-hole/FTL/releases/tag/v6.7
- https://github.com/pi-hole/FTL/security/advisories/GHSA-8j7w-m3cr-6q6x exploit
- ENISA EUVD EUVD-2026-127551 third-party-advisory