Description
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Prior to 6.5, gravity.sh checks file:// adlist readability with sudo -u pihole test -r but then allows curl, sometimes running as root, to normalize URL dot segments and open a different file. A pihole-readable decoy can therefore pass the check while curl reads a root-only target, and /proc/self paths can similarly resolve against different processes. Exploitation requires an administrator who can add adlists and can place a symlink and decoy on the filesystem. This issue is fixed in version 6.5.
Severity (CVSS)
| Base score | 2.2 |
|---|---|
| Severity | Low |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-59 — CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pi-hole | pi-hole | < 6.5 [affected] |
References
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-g63w-24cr-p3w6 (x_refsource_CONFIRM)
- https://github.com/pi-hole/pi-hole/pull/6719 (x_refsource_MISC)
- https://github.com/pi-hole/pi-hole/commit/14554737be53c392abffc69677f6b9df02ae7971 (x_refsource_MISC)
- https://github.com/pi-hole/pi-hole/releases/tag/v6.5 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.