CVE-2020-11108The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code…
- 8.8HighCVSS base score
- 78.0%Exploitation in 30 daysEPSS · top 0.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 5Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 4 Exploit-DB entries for it.
Show the exploits5
Metasploit modules1 module
- Pi-Hole heisenbergCompensator Blocklist OS Command Execution (Metasploit module) (opens in a new tab)
exploit/unix/http/pihole_blocklist_execRank excellentdisclosed 10 May 2020
Exploit-DB4 entries
- Pi-hole 4.4.0 - Remote Code Execution (Authenticated) (Exploit-DB entry) (opens in a new tab)
EDB-ID 48519webapps, linuxpublished 26 May 2020Verified
- Pi-Hole - heisenbergCompensator Blocklist OS Command Execution (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 48491remote, phppublished 19 May 2020Verified
- Pi-hole < 4.4 - Authenticated Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 48442webapps, linuxpublished 10 May 2020Not verified
- Pi-hole < 4.4 - Authenticated Remote Code Execution / Privileges Escalation (Exploit-DB entry) (opens in a new tab)
EDB-ID 48443webapps, linuxpublished 10 May 2020Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 42 days later
· 42 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 78.0% · top 0.4% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
n/a
- affected n/a
References
References6
- https://frichetten.com/blog/cve-2020-11108-pihole-rce/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Frichetten/CVE-2020-11108-PoC (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-3466 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-11108)Record last updated .