CVE-2026-41489
Last modified
CVE-2026-41489 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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). EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-41489?
How severe is CVE-2026-41489?
How do I fix CVE-2026-41489?
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-41483OpenTelemetry.Resources.Azure is the .NET resource detector …5.9
- CVE-2026-41484OpenTelemetry.Exporter.OneCollector is a .NET exporter that …5.9
- CVE-2026-41485Kyverno is a policy engine designed for cloud native platfor…7.7
- CVE-2026-41486Ray is an AI compute engine. From version 2.54.0 to before v…8.8
- CVE-2026-41487Langfuse is an open source large language model engineering …5.4
- CVE-2026-41488LangChain is a framework for building agents and LLM-powered…3.1
- CVE-2026-4149Sonos Era 300 SMB Response Out-Of-Bounds Access Remote Code …9.8
- CVE-2026-41490Dagster is an orchestration platform for the development, pr…8.3
- CVE-2026-41491Dapr is a portable, event-driven, runtime for building distr…8.1
- CVE-2026-41492Dgraph is an open source distributed GraphQL database. Prior…9.8
- CVE-2026-41493YARD is a Ruby Documentation tool. Prior to version 0.9.42, …7.5
- CVE-2026-41495n8n-MCP is an MCP server that provides AI assistants access …5.3
Are you affected by CVE-2026-41489?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
