SB2026111828 - Multiple vulnerabilities in Pi-hole
Published: November 18, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 vulnerabilities.
1) Link following (CVE-ID: CVE-2026-119334)
CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')
CVSSv4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote privileged user to disclose domain-shaped lines from root-only files.
The vulnerability exists due to improper link resolution before file access in Pi-hole's gravity.sh when checking and reading file:// adlists using different path-resolution semantics and privileges. A remote privileged user can add a crafted adlist referencing a filesystem symlink and readable decoy, or a /proc/self/ path, to bypass the read check and disclose restricted file content when gravity runs as root.
2) External Control of File Name or Path (CVE-ID: N/A)
CWE-ID: CWE-73 - External Control of File Name or Path
CVSSv4: 7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to execute arbitrary code as root or truncate and change permissions on root-owned files.
The vulnerability exists due to external control of file paths in Pi-hole's gravity.sh and piholeLogFlush.sh when processing pihole-owned configuration as root during administrator maintenance. A local user can set files.gravity to "/etc/cron.d/gravity.db" and await an administrator's sudo pihole -g invocation to gain directory ownership and install a root cron job, or redirect files.log.* paths before sudo pihole flush to truncate root-owned files and change their permissions.
3) OS Command Injection (CVE-ID: CVE-2026-119335)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to escalate privileges and execute arbitrary commands as root.
The vulnerability exists due to improper neutralization of command substitutions in Pi-hole's getFTLPID() and command wrapper when PID-file values beginning with a digit pass validation and undergo Bash arithmetic evaluation. A local user can write 1+a[$(id > /tmp/PWNED-ROOT-PROOF)] to /run/pihole-FTL.pid as the pihole user and wait for a root-run command such as pihole reloaddns to execute commands as root.
4) UNIX symbolic link following (CVE-ID: CVE-2026-119336)
CWE-ID: CWE-61 - UNIX Symbolic Link (Symlink) Following
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to corrupt or create root-owned files, disclose sensitive information, and cause a denial of service.
The vulnerability exists due to symbolic link following in Pi-hole's advanced/Scripts/updatecheck.sh when the root cron job truncates and changes permissions on /etc/pihole/versions. A local user can replace that path with a symlink as the pihole user to redirect root's file operations, or race symlink swaps to make sensitive files world-readable without truncation.
5) Execution with unnecessary privileges (CVE-ID: N/A)
CWE-ID: CWE-250 - Execution with Unnecessary Privileges
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to escalate privileges to root.
The vulnerability exists due to unnecessary CAP_CHOWN privileges in the Pi-hole pihole-FTL service when running as the pihole user and spawning child processes. A local user can leverage code execution within that service context to change ownership of /etc/pihole/logrotate, insert a malicious postrotate script, and restore root ownership to execute arbitrary commands as root during daily or reboot-triggered log rotation.
Remediation
Install update from vendor's website.
References
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-g63w-24cr-p3w6
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-mff6-cjc4-5wq9
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-cf36-4hhc-8398
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-xch2-4qxw-g5vj
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-j8vh-6fp9-cjcx