CVE-2026-145797
Received
Received - Intake
SQL Injection in Pi-hole FTL Leading to OS Command Execution
Vulnerability report for CVE-2026-145797, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-12-06
Last updated on: 2026-12-06
Assigner: VulnCheck
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |