Pi-hole FTL 6.8 with Pi-hole Core before 6.6 contains an SQL injection vulnerability that allows authenticated admins
Source GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 6.9 soon.
Data as of 6 Dec 2026, 16:56 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.6 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.2 |
- Patch
- Available – fixed in 6.9, 6.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Upgrade FTL to 6.9; pi-hole to 6.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pi-holeFTL | Affected
| Fixed in
|
| pi-holepi-hole | Affected
| Fixed in
|
GitHubFTLpkg:github/FTLOther threats | Affected
| Fixed in
|
GitHubpi-holepkg:github/pi-holeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, restrict administrative access to trusted users only and monitor for suspicious activity related to the PATCH /api/config endpoint.
Description
Pi-hole FTL 6.8 combined with Pi-hole Core versions before 6.6 contains an SQL injection vulnerability. This flaw allows authenticated administrators to execute operating system commands as the pihole user by exploiting the files.gravity setting. The vulnerability is triggered by sending a specially crafted single-quoted payload via the PATCH /api/config endpoint, which then uses the sqlite3 edit() function to execute system commands.
References
- github.com/pi-hole/FTL/security/advisories/GHSA-pj9m-9623-2g75 (opens in a new tab)
- github.com/pi-hole/pi-hole/security/advisories/GHSA-cq9w-mv93-mxh7 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-145797 (opens in a new tab)
- github.com/pi-hole/FTL/commit/8687f0af86e0bc1e0f825a39a929f07a83f8bdac (opens in a new tab)
- github.com/pi-hole/pi-hole/commit/63a1e2f31fea48f8fc3b21fdf98f44390fbba9a7 (opens in a new tab)
- github.com/pi-hole/FTL/blob/v6.8/src/config/validator.c (opens in a new tab)
- github.com/pi-hole/FTL/releases/tag/v6.9 (opens in a new tab)
- github.com/pi-hole/pi-hole/blob/v6.5/gravity.sh (opens in a new tab)
- github.com/pi-hole/pi-hole/releases/tag/v6.6 (opens in a new tab)
- vulncheck.com/advisories/pi-hole-ftl-6.8-with-pi-hole-core-before-6.6-os-command-execution-via-sql-injection-in-files-gravity (opens in a new tab)