CVE-2026-145797: pi-hole FTL · SQL Injection
Affects pi-hole FTLSource CVE Database V5
Not known to be exploited · CVSS 8.6 High : upgrade to 6.9 soon.
Data as of 6 Dec 2026, 15:27 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
This vulnerability has been fixed in Pi-hole FTL version 6.9 and Pi-hole Core version 6.6. Users should upgrade to these versions or later to remediate the issue. No additional mitigation steps are indicated beyond applying the official fixes.
Description
Pi-hole FTL versions 6.8 prior to 6.9, combined with Pi-hole Core versions before 6.6, contain an SQL injection vulnerability. This flaw allows authenticated administrators to execute operating system commands as the pihole user by exploiting the files.gravity setting via a PATCH request to /api/config. The vulnerability arises from improper neutralization of special elements in SQL commands, enabling injection of SQL that calls the sqlite3 edit() function to run 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)
- github.com/pi-hole/pi-hole/commit/63a1e2f31fea48f8fc3b21fdf98f44390fbba9a7 (opens in a new tab)
- github.com/pi-hole/FTL/commit/8687f0af86e0bc1e0f825a39a929f07a83f8bdac (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/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/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)