{"id":"CVE-2026-145797","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-145797","summary":"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…","details":"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.","published":"2026-12-06T15:16:44.630","modified":"2026-12-06T15:16:44.630","cvss":{"score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/pi-hole/FTL/commit/8687f0af86e0bc1e0f825a39a929f07a83f8bdac","label":"pi-hole/FTL@8687f0a"},"references":[{"type":"WEB","url":"https://github.com/pi-hole/FTL/blob/v6.8/src/config/validator.c#L319-L347"},{"type":"WEB","url":"https://github.com/pi-hole/FTL/commit/8687f0af86e0bc1e0f825a39a929f07a83f8bdac"},{"type":"WEB","url":"https://github.com/pi-hole/FTL/releases/tag/v6.9"},{"type":"WEB","url":"https://github.com/pi-hole/FTL/security/advisories/GHSA-pj9m-9623-2g75"},{"type":"WEB","url":"https://github.com/pi-hole/pi-hole/blob/v6.5/gravity.sh#L466-L475"},{"type":"WEB","url":"https://github.com/pi-hole/pi-hole/commit/63a1e2f31fea48f8fc3b21fdf98f44390fbba9a7"},{"type":"WEB","url":"https://github.com/pi-hole/pi-hole/releases/tag/v6.6"},{"type":"WEB","url":"https://github.com/pi-hole/pi-hole/security/advisories/GHSA-cq9w-mv93-mxh7"},{"type":"WEB","url":"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"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-12-06T15:16:44.630"}}