CVE Catalog

CVE-2026-145797

HighCVSS 7.2
Published: Translated: NVD NIST

Summary

Pi-hole FTL 6.8 with Pi-hole Core before 6.6 contains an SQL injection vulnerability allowing 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.

Risk Assessment

An authenticated admin can escalate to OS command execution, potentially leading to full compromise of the Pi-hole host.

Recommendation

Upgrade Pi-hole Core to 6.6 or later and FTL to the fixed release, and restrict administrative access to the API.

Other vulnerabilities in Pi-hole

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS