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.

Project Subscriptions

Vendors Products
Pi-hole Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 06 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Pi-hole ftl
Vendors & Products Pi-hole ftl

Sun, 06 Dec 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title Pi-hole FTL 6.8 with Pi-hole Core before 6.6 OS Command Execution via SQL Injection in files.gravity
First Time appeared Pi-hole
Pi-hole pi-hole
Weaknesses CWE-89
CPEs cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*
Vendors & Products Pi-hole
Pi-hole pi-hole
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-06T15:03:56.267Z

Reserved: 2026-12-06T14:50:28.128Z

Link: CVE-2026-145797

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-06T15:16:44.630

Modified: 2026-12-06T15:16:44.630

Link: CVE-2026-145797

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-06T16:45:02Z

Weaknesses