High severity7.2NVD Advisory· Published Dec 6, 2026
CVE-2026-145797
CVE-2026-145797
Description
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.
Affected products
2Patches
Vulnerability mechanics
References
9- github.com/pi-hole/FTL/blob/v6.8/src/config/validator.cnvd
- github.com/pi-hole/FTL/commit/8687f0af86e0bc1e0f825a39a929f07a83f8bdacnvd
- github.com/pi-hole/FTL/releases/tag/v6.9nvd
- github.com/pi-hole/FTL/security/advisories/GHSA-pj9m-9623-2g75nvd
- github.com/pi-hole/pi-hole/blob/v6.5/gravity.shnvd
- github.com/pi-hole/pi-hole/commit/63a1e2f31fea48f8fc3b21fdf98f44390fbba9a7nvd
- github.com/pi-hole/pi-hole/releases/tag/v6.6nvd
- github.com/pi-hole/pi-hole/security/advisories/GHSA-cq9w-mv93-mxh7nvd
- www.vulncheck.com/advisories/pi-hole-ftl-6.8-with-pi-hole-core-before-6.6-os-command-execution-via-sql-injection-in-files-gravitynvd
News mentions
0No linked articles in our index yet.