The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files
No fixed version listed yet.Check the vendor advisory. References ↓
The Gravity updater in Pi-hole through 4.4, specifically the gravity_DownloadBlocklistFromUrl function in gravity.sh, contains a flaw that lets a user upload arbitrary files. An authenticated attacker can exploit it by writing a PHP file into the web directory to achieve remote code execution, and combined with the sudo rule for the www-data user it can be used to escalate privileges to root.
Official description · CVE.org
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (PoC-in-GitHub) was available 37 days before disclosure.
- Public exploit codePoC-in-GitHub37 days before
- Disclosedday 0
What security researchers reported
Not named in any threat report yetAlso mentioned in 5 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.8 May 2026
- Shredding pre2020's exp.certs / ioc's / cves + scanning20 Mar 2026
- SCANID: S-KhOoOrXsco8: Thor Lite Linux 64 - Sample Lab Device 2 - incomplete (not enriched)4 Mar 2025
- Thor-Lite Linux 64 (06.11.24) - enriched a bit more but not 'pruned'11 Jun 2024
- Thor Lite Scan - 10.7.15 - Ubuntu Scan on Archived Files21 May 2024