Pi-hole FTL 6.8 with Pi-hole Core before 6.6 contains an SQL injection vulnerability that allows authenticated admins to execute OS…
CVE-2026-145797
Pi-hole FTL 6.8 with Pi-hole Core before 6.6 contains an SQL injection vulnerability that allows authenticated admins to execute OS commands as the pihole user via the files.gravity setting. Attackers can set a single-quoted payload through PATCH /api/config and trigger gravity, injecting SQL that calls the sqlite3 edit() function to run system commands.
Assessment
- CVSS
- 8.6 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 6 December 2026
- Last updated
- 6 December 2026
- Weakness
- CWE-89
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/pi-hole/FTL/blob/v6.8/src/config/validator.c#L319-L347
- https://github.com/pi-hole/FTL/commit/8687f0af86e0bc1e0f825a39a929f07a83f8bdac
- https://github.com/pi-hole/FTL/releases/tag/v6.9
- https://github.com/pi-hole/FTL/security/advisories/GHSA-pj9m-9623-2g75
- https://github.com/pi-hole/pi-hole/blob/v6.5/gravity.sh#L466-L475
- https://github.com/pi-hole/pi-hole/commit/63a1e2f31fea48f8fc3b21fdf98f44390fbba9a7
- https://github.com/pi-hole/pi-hole/releases/tag/v6.6
- https://github.com/pi-hole/pi-hole/security/advisories/GHSA-cq9w-mv93-mxh7
- https://www.vulncheck.com/advisories/pi-hole-ftl-6.8-with-pi-hole-core-before-6.6-os-command-execution-via-sql-injection-in-files-gravity
- https://nvd.nist.gov/vuln/detail/CVE-2026-145797
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-145797