{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41489 exists.","fix":"No fix has been published for CVE-2026-41489 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-41489 is a high-severity vulnerability in pi-hole, published on 11 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41489 and fix it if it is affected.\n\nWhat it is: CVE-2026-41489 is a high-severity vulnerability in pi-hole, published on 11 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41489 exists.\n\nAffected product: pi-hole. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41489/ (Markdown: https://insights.sbomify.com/CVE-2026-41489/index.md)","id":"CVE-2026-41489","markdown":"https://insights.sbomify.com/CVE-2026-41489/index.md","name":"CVE-2026-41489","record":{"aliases":["GHSA-6w8x-p785-6pm4"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Pi-hole DNS sinkhole","requires_auth":"low_privilege","summary":"Local attackers with pihole privileges can escalate to root by manipulating config-controlled paths in root-executed service hooks to overwrite sensitive files.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-269","name":"Improper Privilege Management"},{"id":"CWE-15","name":"External Control of System or Configuration Setting"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Pi-hole: Local privilege escalation via config-controlled path in root-executed service hooks","id":"CVE-2026-41489","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Dagster Vulnerable to SQL Injection via Dynamic Partition Keys in Database I/O Manager Integrations","id":"CVE-2026-41490"},"packages":[],"prev":{"headline":"angchain-openai: Image token counting SSRF protection can be bypassed via DNS rebinding","id":"CVE-2026-41488"},"products":["pi-hole"],"published":"2026-05-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-13","vendors":["pi-hole"]},"summary":"Local attackers with pihole privileges can escalate to root by manipulating config-controlled paths in root-executed service hooks to overwrite sensitive files.","url":"https://insights.sbomify.com/CVE-2026-41489/"}