CVE & CISA-KEV Catalog

CVE-2026-39849

HIGH
8.8
CVSS v3
NVD

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.

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.96%probability of exploitation in 30 days
58thpercentile

Moderate risk: more likely to be exploited than 58% of all known CVEs.

References

Exploit1
Release Notes1

Related Vulnerabilities

Other CWE-93 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-61884High7.598%KEV + Ransom-
CVE-2022-0666High7.544%-Fix
CVE-2016-3115Medium6.437%-Fix
CVE-2024-20337High8.230%-Fix
CVE-2021-39172High8.829%-Fix
CVE-2016-4975Medium6.120%-Fix

Common questions

How do I fix CVE-2026-39849?

No published fix for CVE-2026-39849 has been found yet. Check the linked vendor advisories for guidance as it becomes available.

Is CVE-2026-39849 being actively exploited?

Not that we know of. CVE-2026-39849 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.96% is the estimated probability that it will be exploited in the next 30 days. That is higher than 58% of all scored CVEs.

How severe is CVE-2026-39849?

CVE-2026-39849 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

Embed a live status badge for CVE-2026-39849
CVE-2026-39849 severity badge

Markdown

[![CVE-2026-39849](https://tridentstack.com/cve/badge/CVE-2026-39849.svg)](https://tridentstack.com/cve/CVE-2026-39849)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-39849"><img src="https://tridentstack.com/cve/badge/CVE-2026-39849.svg" alt="CVE-2026-39849"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-24.