---
title: "CVE-2026-119335: Pi-hole - Command Injection & Privilege Escalation"
description: "Pi-hole prior to 6.5 contains a command injection caused by improper validation of the pihole-owned PID file in advanced/Scripts/utils.sh getFTLPID(), letting attackers with pihole user code execution escalate to root via Bash evaluation, exploit requires code execution as pihole user."
url: https://panop.io/threat-heartbeat/CVE-2026-119335/
---

# CVE-2026-119335 Pi-hole - Command Injection & Privilege Escalation

Pi-hole prior to 6.5 contains a command injection caused by improper validation of the pihole-owned PID file in advanced/Scripts/utils.sh getFTLPID(), letting attackers with pihole user code execution escalate to root via Bash evaluation, exploit requires code execution as pihole user.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.23% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-119335)

## Details

Type

Command Injection

Impact

Remote Code Execution, Privilege Escalation

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Published

30 October 2026

Updated

1 November 2026

Weakness

[CWE-78](https://cwe.mitre.org/data/definitions/78.html)

## Vendor fix

Update to version 6.5 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-119335](https://nvd.nist.gov/vuln/detail/CVE-2026-119335)
- [https://github.com/pi-hole/pi-hole/security/advisories/GHSA-cf36-4hhc-8398](https://github.com/pi-hole/pi-hole/security/advisories/GHSA-cf36-4hhc-8398)
- [https://github.com/pi-hole/pi-hole/commit/555dd4d8b3699327fbba482bb73cce5f53979bd1](https://github.com/pi-hole/pi-hole/commit/555dd4d8b3699327fbba482bb73cce5f53979bd1)
- [https://github.com/pi-hole/pi-hole/pull/6719](https://github.com/pi-hole/pi-hole/pull/6719)
- [https://github.com/pi-hole/pi-hole/releases/tag/v6.5](https://github.com/pi-hole/pi-hole/releases/tag/v6.5)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
