CVE-2026-145797

Pi-hole FTL 6.8 with Pi-hole Core before 6.6 OS Command Execution via SQL Injection in files.gravity

Published Dec 6, 2026 CVSS 4.0 · 8.6 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pi-hole ftl
Vendors & Products Pi-hole ftl
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 6, 2026, 3:03 PM
Reserved
Dec 6, 2026, 2:50 PM
Status
Received
Published
Dec 6, 2026, 3:16 PM
Modified
Dec 6, 2026, 3:16 PM