The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35521

CVE-2026-35521: Pi-hole FTL Engine RCE Vulnerability

CVE-2026-35521 is a remote code execution vulnerability in Pi-hole FTL engine affecting versions 6.0 to before 6.6. Attackers can inject malicious configuration directives to execute arbitrary commands on the system.

Published: April 10, 2026

CVE-2026-35521 Overview

A Remote Code Execution (RCE) vulnerability exists in FTLDNS (pihole-FTL), the core engine that provides an interactive API and generates statistics for Pi-hole's Web interface. The vulnerability resides in the DHCP hosts configuration parameter (dhcp.hosts) and allows an authenticated attacker to inject arbitrary dnsmasq configuration directives through newline character injection, ultimately achieving command execution on the underlying system.

Critical Impact

Authenticated attackers can achieve full system compromise through command injection in DHCP configuration parameters, potentially leading to complete control of the Pi-hole server and network infrastructure.

Affected Products

  • Pi-hole FTL versions 6.0 through 6.5
  • FTLDNS (pihole-FTL) with DHCP functionality enabled
  • Pi-hole deployments using the Web interface API

Discovery Timeline

  • 2026-04-07 - CVE-2026-35521 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-35521

Vulnerability Analysis

This vulnerability is classified as CWE-78 (OS Command Injection) and affects the Pi-hole FTL engine's handling of DHCP host configuration. The flaw exists in how the dhcp.hosts parameter processes user-supplied input without adequate sanitization for newline characters. When an authenticated user modifies DHCP host entries through the Pi-hole API or Web interface, the input is written to the dnsmasq configuration file. By injecting newline characters (\n), an attacker can break out of the intended configuration context and insert arbitrary dnsmasq directives, including those that execute system commands.

The vulnerability requires authentication, meaning an attacker must have valid credentials to access the Pi-hole administrative interface. However, once authenticated, exploitation is straightforward and does not require any user interaction. The impact is severe as successful exploitation grants the attacker the ability to execute arbitrary commands with the privileges of the Pi-hole FTL process, typically running as root on most installations.

Root Cause

The root cause is insufficient input validation in the DHCP hosts configuration handler. The dhcp.hosts parameter accepts user input that is subsequently written to the dnsmasq configuration file without properly sanitizing or escaping newline characters. This allows attackers to inject additional configuration lines that dnsmasq will interpret as legitimate directives.

Dnsmasq supports several configuration options that can execute external commands, such as the dhcp-script directive. By injecting a newline followed by a malicious dhcp-script entry, an attacker can cause arbitrary command execution when DHCP events occur.

Attack Vector

The attack is network-based and requires low complexity to execute. An authenticated attacker with access to the Pi-hole Web interface or API can craft a malicious DHCP host entry containing newline characters followed by command execution directives.

The exploitation flow involves:

  1. Authenticating to the Pi-hole Web interface or API with valid credentials
  2. Navigating to the DHCP settings or using the API endpoint for DHCP host configuration
  3. Injecting a payload containing newline characters and malicious dnsmasq directives into the dhcp.hosts parameter
  4. Triggering a DHCP event or configuration reload to execute the injected commands

The injected payload typically leverages dnsmasq's dhcp-script functionality to execute arbitrary shell commands when DHCP lease events occur. For detailed technical information about the exploitation mechanism, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-35521

Indicators of Compromise

  • Unexpected modifications to dnsmasq configuration files, particularly those containing dhcp-script or similar command execution directives
  • Unusual DHCP host entries containing newline characters or encoded escape sequences
  • Suspicious processes spawned as children of the pihole-FTL or dnsmasq processes
  • Anomalous outbound network connections from the Pi-hole server
  • Unexpected script files created in system directories

Detection Strategies

  • Monitor Pi-hole configuration files for unauthorized changes, especially /etc/dnsmasq.d/ directory contents
  • Implement file integrity monitoring on dnsmasq and Pi-hole configuration files
  • Review Pi-hole API access logs for unusual DHCP configuration modification requests
  • Deploy endpoint detection solutions to identify suspicious command execution patterns from the FTL process
  • Analyze authentication logs for brute-force attempts or unauthorized access to the Pi-hole interface

Monitoring Recommendations

  • Enable detailed logging for Pi-hole API requests and configuration changes
  • Configure alerts for any modifications to DHCP-related configuration parameters
  • Monitor process creation events for unexpected child processes of pihole-FTL
  • Implement network traffic analysis to detect unusual outbound connections from Pi-hole servers
  • Set up baseline behavior monitoring for the Pi-hole server to detect anomalous activity

How to Mitigate CVE-2026-35521

Immediate Actions Required

  • Upgrade Pi-hole FTL to version 6.6 or later immediately
  • Review existing DHCP host configurations for any suspicious entries containing newline characters or unexpected directives
  • Audit Pi-hole access logs for signs of exploitation attempts
  • Restrict network access to the Pi-hole administrative interface to trusted IP addresses only
  • Review and rotate administrative credentials if compromise is suspected

Patch Information

The vulnerability has been addressed in Pi-hole FTL version 6.6. The fix implements proper input sanitization for the dhcp.hosts parameter, preventing newline injection attacks. Users should update their Pi-hole installation using the standard update mechanism or by manually updating the FTL component. For complete details on the fix and affected versions, see the GitHub Security Advisory.

Workarounds

  • Disable DHCP functionality in Pi-hole if not required for your deployment until the patch can be applied
  • Implement strict firewall rules to limit access to the Pi-hole Web interface and API to trusted management networks only
  • Enable two-factor authentication or additional access controls on the Pi-hole administrative interface if supported
  • Consider deploying a Web Application Firewall (WAF) in front of the Pi-hole interface to filter malicious input patterns
  • Monitor and audit all DHCP configuration changes manually until the update is applied

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPi Hole

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English