High severity · published May 11, 2020
CVE-2020-11108
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files
8.8
CVSS
78.3%
EPSS
No
On KEV
Description
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)78.3% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PI
Pi-hole · Pi-hole
through 4.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-11108
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-11108
Exploit
http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html
Exploit
http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html
packetstormsecurity.com
http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html
packetstormsecurity.com
http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html
Exploit
https://frichetten.com/blog/cve-2020-11108-pihole-rce/
Exploit
https://github.com/Frichetten/CVE-2020-11108-PoC
More from Pi-hole
7.2
CVE-2020-8816
Pi-Hole AdminLTE Remote Code Execution Vulnerability
8.8
CVE-2026-50130
Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`
8.8
CVE-2026-41489
Pi-hole: Local privilege escalation via config-controlled path in root-executed service hooks
8.8
CVE-2025-34087
Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
8.8
CVE-2024-34361
Pi-hole Blind Server-Side Request Forgery (SSRF) vulnerability can lead to Remote Code Execution (RCE)
