Pi-hole Admin Interface
CVE-2025-59151
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Pi-hole admin .lp endpoint
-
DeliverySend request with %0d%0a CRLF payload
-
ExploitSplit HTTP response and inject headers
-
ExecutionManipulate victim session or weaken CSP
-
ImpactSession 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
More in Web Interface
View allPi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)
adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i
adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me
adminlte is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated me
Stored HTML injection in Pi-hole Admin Interface versions 6.0+ allows authenticated attackers to inject arbitrary HTML i
Pi-hole's Web interface (based on AdminLTE) provides a central location to manage one's Pi-hole and review the statistic
Reflected cross-site scripting in the Pi-hole Admin Interface (web_interface) 6.2.1 and earlier lets a remote, unauthent
Remote code execution with root privileges in Pi-hole Admin Interface versions prior to 6.0 allows unauthenticated attac
Reflected DOM-based XSS in Pi-hole Admin Interface versions 6.0 through 6.4 allows unauthenticated attackers to inject a
Stored cross-site scripting (XSS) via HTML attribute injection in Pi-hole Admin Interface versions 6.0 through 6.4 allow
Pi-hole Admin Interface versions 6.0 through 6.4 fail to escape client hostnames and IP addresses from the FTL database
NVD
CVE.org
EPSS
GitHub
Exploit-DB