Skip to main content

Pi-hole Admin Interface CVE-2025-59151

HIGH
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2025-10-27 security-advisories@github.com
8.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Pi-hole admin .lp endpoint
  2. Delivery
    Send request with %0d%0a CRLF payload
  3. Exploit
    Split HTTP response and inject headers
  4. Execution
    Manipulate victim session or weaken CSP
  5. Impact
    Session fixation or XSS impact

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

Exploitation requires the attacker to be able to send (or cause a victim's browser to send) an HTTP request to a resource ending in the .lp extension on the Pi-hole admin interface, where the application performs a redirect using unsanitized input; the CRLF payload (%0d%0a) injected there enables HTTP response splitting. No authentication is required per PR:N and no user interaction per UI:N for the injection itself. Limiting factors: the admin interface must be network-reachable to the attacker (many Pi-hole deployments restrict the web UI to the local network, which substantially narrows remote exposure), the deployment must be before version 6.3 (fixed in 6.3), and the most damaging downstream effects (session fixation, cache poisoning, CSP/X-XSS-Protection weakening leading to XSS) generally require a victim to subsequently load the manipulated response.

Impact

This is a genuine, moderately high priority for affected deployments rather than an inflated CVSS score. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity flaw requiring no privileges, and the 8.2 score is driven by high integrity impact (I:H) with low availability impact (A:L) and no confidentiality impact (C:N) - consistent with CRLF/HTTP response manipulation rather than data theft. Signals are partially conflicting: a public exploit exists (POC=YES) which raises practical risk, yet EPSS is only 0.44% (36th percentile), indicating low modeled probability of widespread exploitation in the near term. There is no CISA KEV listing, so there is no evidence of active exploitation. The PR:N/UI:N rating implies fully unauthenticated, no-interaction exploitation, but note the realistic high-value outcomes described (session fixation, CSP/X-XSS-Protection bypass, cache poisoning) typically need a victim to subsequently load the manipulated response - so the raw CVSS may somewhat overstate zero-touch impact for the downstream attacks. No SSVC decision data was provided in the input, so automatable/technical-impact framing cannot be independently assessed. Net: patch promptly given the public exploit and unauthenticated vector, but this is not a mass-exploitation emergency based on EPSS and the absence of KEV.

Exploit ScenarioDerived

An attacker crafts a request to a .lp endpoint on the Pi-hole admin interface containing URL-encoded CRLF sequences (%0d%0a) in input that feeds an unsanitized redirect, splitting the HTTP response to inject attacker-controlled headers and body. A public exploit for this issue exists. Because the vector is network-based and unauthenticated, an attacker who can reach the admin interface (or lure a victim into triggering the crafted request) can perform session fixation, poison caches, or weaken browser protections like CSP to facilitate follow-on XSS.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

HTTP response splitting in Pi-hole Admin Interface before 6.3 lets unauthenticated remote attackers inject CRLF sequences (%0d%0a) into redirects generated for requests to resources ending in the .lp extension, thereby manipulating HTTP response headers and body content. The injected headers can facilitate session fixation, cache poisoning, and the weakening or bypass of browser protections such as Content Security Policy and X-XSS-Protection, although the most damaging downstream effects generally require a victim to subsequently load the manipulated response. Publicly available exploit code exists, but the flaw has not been confirmed as actively exploited (CISA KEV), and EPSS is low at 0.44% (36th percentile); real-world exposure is further limited because many Pi-hole web interfaces are restricted to local networks rather than the public internet.

RemediationAI

The primary fix is to upgrade the Pi-hole Admin Interface to version 6.3, which resolves the CRLF injection (Vendor-released patch: 6.3) and is documented in the vendor advisory at https://github.com/pi-hole/web/security/advisories/GHSA-5v79-p56f-x7c4. Until upgrading, reduce exposure by restricting the admin interface to trusted networks or a VPN so untrusted clients cannot reach the redirect endpoint, since network reachability is the main limiting factor for exploitation and closing it eliminates the attack surface at the cost of losing remote administrative access. If remote UI access is required, place the interface behind a reverse proxy that rejects or strips CR/LF (%0d%0a, %0a, %0d) characters from request paths and enforces normalized URL handling; this is a compensating control only and can be bypassed by encoding variants, so it must not substitute for the 6.3 upgrade. Also avoid caching responses from the admin origin in shared or intermediary caches and treat any suspicious session state as potentially fixated, since the flaw enables response splitting and cache poisoning once a crafted .lp request is processed.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CRLF injection (CWE-93) leading to HTTP response splitting. Pi-hole Admin Interface is the PHP-based web front end for the Pi-hole DNS sinkhole; when a request targets a file with the .lp extension, the application issues a redirect using unsanitized input, so attacker-supplied %0d%0a sequences terminate the header block prematurely and allow arbitrary headers plus a fabricated body to be appended to the response. Because the response originates from the trusted admin origin, any injected script or metadata inherits that origin's trust, which is why the flaw can undermine CSP, X-XSS-Protection, and similar browser-side defenses, and can poison shared caches or fixate sessions. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L confirms a network-reachable, unauthenticated, low-complexity attack that spans no privilege boundary and primarily threatens integrity (I:H) with some availability impact (A:L) and no confidentiality impact; the associated CPE cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:* indicates all releases prior to the 6.3 fix are in scope.

Know when Web Interface gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
vuln.today AI 8.2 HIGH

Unauthenticated network request to an unsanitized .lp redirect (AV:N/AC:L/PR:N/UI:N); response splitting gives high integrity impact, minor availability effect, and no confidentiality impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

DescriptionCVE.org

Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level advertisement and internet tracker blocking application. Pi-hole Admin Interface before 6.3 is vulnerable to Carriage Return Line Feed (CRLF) injection. When a request is made to a file ending with the .lp extension, the application performs a redirect without properly sanitizing the input. An attacker can inject carriage return and line feed characters (%0d%0a) to manipulate both the headers and the content of the HTTP response. This enables the injection of arbitrary HTTP response headers, potentially leading to session fixation, cache poisoning, and the weakening or bypassing of browser-based security mechanisms such as Content Security Policy or X-XSS-Protection. This vulnerability is fixed in 6.3.

Executive ViewAI

Why It Matters

A high-severity flaw in the Pi-hole Admin Interface (versions before 6.3) can let attackers manipulate HTTP redirect responses for .lp resources, potentially enabling session fixation, cache poisoning, and bypass of browser security protections for administrators who load the crafted content. Publicly available exploit code exists, and no vendor-released patch identified at time of analysis, so organizations with exposed or broadly reachable Pi-hole management interfaces face elevated risk of admin session compromise or poisoned cached content, though many deployments restrict access to internal networks. Leadership should prioritize confirming exposure, limiting access to trusted administrators, and monitoring for vendor remediation.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; restrict Pi-hole Admin Interface to localhost, trusted management networks, or VPN, block public access, deploy WAF/reverse-proxy rules to reject CRLF or %0d%0a in .lp redirect requests, enforce strict redirect allowlists, validate response headers, rotate admin sessions, clear caches, and monitor logs for exploitation; apply vendor patch when released.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Medium
popular self-hosted DNS ad-blocker with large hobbyist/homelab install base
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:*
CVE-2023-23614 HIGH POC
8.8 Jan 26

Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity

CVE-2021-29448 HIGH POC
8.8 Apr 15

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)

CVE-2021-3706 HIGH POC
7.5 Sep 15

adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i

CVE-2021-3812 MEDIUM POC
6.1 Sep 17

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me

CVE-2021-3811 MEDIUM POC
6.1 Sep 17

adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me

CVE-2026-26953 MEDIUM POC
5.4 Feb 19

Stored HTML injection in Pi-hole Admin Interface versions 6.0+ allows authenticated attackers to inject arbitrary HTML i

CVE-2021-41175 MEDIUM POC
5.4 Oct 26

Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistic

CVE-2025-53533 MEDIUM POC
5.1 Oct 27

Reflected cross-site scripting in the Pi-hole Admin Interface (web_interface) 6.2.1 and earlier lets a remote, unauthent

CVE-2026-33765 HIGH
8.9 Mar 27

Remote code execution with root privileges in Pi-hole Admin Interface versions prior to 6.0 allows unauthenticated attac

CVE-2026-33403 MEDIUM
6.1 Apr 06

Reflected DOM-based XSS in Pi-hole Admin Interface versions 6.0 through 6.4 allows unauthenticated attackers to inject a

CVE-2026-33406 MEDIUM
6.1 Apr 06

Stored cross-site scripting (XSS) via HTML attribute injection in Pi-hole Admin Interface versions 6.0 through 6.4 allow

CVE-2026-33404 MEDIUM
6.1 Apr 06

Pi-hole Admin Interface versions 6.0 through 6.4 fail to escape client hostnames and IP addresses from the FTL database

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy