Pi-holeに権限昇格の脆弱性、piholeユーザーからroot権限を取得されるおそれ
Summary
Pi-holeには、piholeユーザーで任意のコードを実行できる攻撃者が、root権限でコマンドを実行させられる脆弱性があります。以前に修正されたCVE-2026-41489の対策を回避するもので、影響を受けるのは6.5より前のバージョンです。修正版は6.5で、アップデートして対応してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Pi-holeには、piholeユーザーで任意のコードを実行できる攻撃者が、root権限でコマンドを実行させられる脆弱性があります。以前に修正されたCVE-2026-41489の対策を回避するもので、影響を受けるのは6.5より前のバージョンです。修正版は6.5で、アップデートして対応してください。
Original description The description as published by the source.
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Prior to 6.5, advanced/Scripts/utils.sh getFTLPID() attempts to validate the pihole-owned /run/pihole-FTL.pid file with expr "${FTL_PID}" : "[^[:digit:]]", but this rejects only values whose first character is not a digit. An attacker with code execution as the pihole user can write a digit-prefixed arithmetic expression to the pihole-owned PID file. Root-run pihole subcommands then evaluate [[ "$pid" -eq "-1" ]], causing Bash to recursively evaluate array subscripts and execute command substitution as root. This bypasses the content-validation portion of the CVE-2026-41489 remediation while leaving its hardcoded PID-file path protection intact. This issue is fixed in version 6.5.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com