CVE-2026-39849
Last modified
CVE-2026-39849 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. In versions before 6.6.1, the `dns.interface` configuration field in Pi-hole FTL accepted newline characters without validation, allowing an attacker to inject arbitrary directives into the generated dnsmasq configuration file. EPSS estimates a 0.96% chance of exploitation in the next 30 days.
Description
Pi-hole FTL is the core engine of the Pi-hole network-level advertisement and tracker blocker. In versions before 6.6.1, the `dns.interface` configuration field in Pi-hole FTL accepted newline characters without validation, allowing an attacker to inject arbitrary directives into the generated dnsmasq configuration file. On installations with no admin password set (the default for many deployments), the configuration API is fully accessible without credentials, allowing a network-adjacent attacker to inject the payload, enable the built-in DHCP server, and achieve arbitrary command execution on the host the next time any device on the network requests a DHCP lease. The injected value is persisted to /etc/pihole/pihole.toml and survives restarts. The strncpy in the code path limits the total interface field to 31 bytes, but payloads such as wlan0\ndhcp-script=/tmp/p fit within this constraint. The dnsmasq config validation introduced in FTL 6.6 only checks syntactic validity, so valid directives injected via newline pass validation successfully. This issue has been fixed in version 6.6.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pi-Hole | Ftldns | 6.6 |
References
- https://github.com/pi-hole/FTL/releases/tag/v6.6.1Product, Release Notes
- https://github.com/pi-hole/FTL/security/advisories/GHSA-9cqv-839p-gpq2Exploit, Vendor Advisory
- https://github.com/pi-hole/FTL/security/advisories/GHSA-9cqv-839p-gpq2Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-39849?
How severe is CVE-2026-39849?
How do I fix CVE-2026-39849?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-39843Plane is an an open-source project management tool. From 0.2…7.7
- CVE-2026-39844NiceGUI is a Python-based UI framework. Prior to 3.10.0, Sin…7.5
- CVE-2026-39845Weblate is a web based localization tool. In versions prior …4.1
- CVE-2026-39846SiYuan is a personal knowledge management system. Prior to 3…9
- CVE-2026-39847Emmett is a full-stack Python web framework designed with si…7.5
- CVE-2026-39848Dockyard is a Docker container management app. Prior to 1.1.…5.4
- CVE-2026-3985The Creative Mail – Easier WordPress & WooCommerce Email Mar…7.5
- CVE-2026-39850Yii 2 is a PHP application framework. Versions 2.0.54 and pr…7.4
- CVE-2026-39851Saleor is an e-commerce platform. From 2.10.0 to before 3.23…4.3
- CVE-2026-39852Quarkus is a Java framework for building cloud-native applic…8.2
- CVE-2026-39853osslsigncode is a tool that implements Authenticode signing …7.8
- CVE-2026-39855osslsigncode is a tool that implements Authenticode signing …5.5
Are you affected by CVE-2026-39849?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
