BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-34361 in Pi-Hole

High 8.8

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. A vulnerability in versions prior to 5.18.3 allows an authenticated user to make internal requests to the server via the `gravity_DownloadBlocklistFromUrl()` function. Depending on some circumstances, t...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS4.7%
EPSS percentile93th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Pi-Hole Pi-Hole < 5.18.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. A vulnerability in versions prior to 5.18.3 allows an authenticated user to make internal requests to the server via the `gravity_DownloadBlocklistFromUrl()` function. Depending on some circumstances, the vulnerability could lead to remote command execution. Version 5.18.3 contains a patch for this issue.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-34361
BreachSpider IDBS-2024-GLOBAL-267928-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-07-05
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-34361 affects Pi-hole versions prior to 5.18.3, allowing an authenticated user to execute remote commands via the `gravity_DownloadBlocklistFromUrl()` function. This vulnerability has a CVSS score of 8.8, indicating a high severity. Immediate action is required to mitigate the risk of remote command execution, which could compromise the integrity and availability of the DNS sinkhole service.

The vulnerability exists in the `gravity_DownloadBlocklistFromUrl()` function, which can be exploited by an authenticated user to make internal requests to the server. This can lead to remote command execution if certain conditions are met. The attacker needs to be authenticated, but no additional user interaction is required.

Compensating controls AI-drafted, review before use

Implement strict access controls and authentication mechanisms to limit who can interact with the Pi-hole server. Regularly monitor logs for suspicious activity and ensure that only trusted users have access to the administrative interface.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2024-34361?

CVE-2024-34361 affects Pi-hole versions prior to 5.18.3, allowing an authenticated user to execute remote commands via the `gravity_DownloadBlocklistFromUrl()` function. This vulnerability has a CVSS score of 8.8, indicating a high severity. Immediate action is required to mitigate the risk of remote command execution, which could compromise the integrity and availability of the DNS sinkhole service.

What is the CVSS score for CVE-2024-34361?

CVE-2024-34361 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 4.7%.

Is CVE-2024-34361 actively exploited?

No confirmed active exploitation of CVE-2024-34361 as of 2026-09-25.

How do I remediate CVE-2024-34361?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-34361?

CVE-2024-34361 affects Pi-Hole Pi-Hole.

What NERC-CIP standard applies to CVE-2024-34361?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an authenticated user to execute remote commands, which could compromise the security of the electronic security perimeter and the critical cyber assets it protects.

What IEC 62443 requirement maps to CVE-2024-34361?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that could allow an attacker to execute commands on the system, which is a critical security concern for the integrity and availability of the DNS sinkhole service.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Pi-Hole","product":"Pi-Hole","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.