CVE-2026-41489
High · 8.8CVSS
8.8
EPSS
0.2%
Published
May 11, 2026
CISA due date
—
The record
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.0 to before Core 6.4.2 and FTL 6.6.1, two shell scripts executed as root by systemd (pihole-FTL-prestart.sh and pihole-FTL-poststop.sh) read the files.pid path from this config without validation and use it in privileged file operations (install and rm -f). By writing an arbitrary path into files.pid, an attacker with pihole privilege can cause root to delete and then recreate any file on the system outside the ProtectSystem=full-restricted directories, gaining write access to it. On a default Pi-hole installation this yields local privilege escalation to root via SSH authorized keys manipulation. If /root/.ssh/authorized_keys does not exist (default on fresh installs), only ExecStartPre is required. If the file exists, ExecStopPost deletes it first, and the same restart triggers both hooks in sequence. This vulnerability is fixed in Core 6.4.2 and FTL 6.6.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-107818 MariaDB server is a community developed fork of MySQL server. CWE-15
- CVE-2026-87987 An arbitrary code execution vulnerability in Mistral Vibe allows an attacker to bypass… CWE-15
- CVE-2026-85217 A maliciously crafted add-in, when installed and executed in Autodesk Fusion Desktop, can… CWE-15
- CVE-2026-19592 OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS… CWE-15
- CVE-2026-16708 IBM Db2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote attacker to obtain sensitive… CWE-15
- CVE-2026-19884 In Eclipse Theia versions up to and including 1.69.0, opening a folder starts source… CWE-15
- CVE-2026-66065 Ouroboros is a local-first runtime for AI coding agents that records their actions and… CWE-15
- CVE-2026-0418 Insufficient configuration management in the listed devices allows authenticated… CWE-15