{
  "id": "CVE-2026-35517",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-35517",
  "published_at": "2026-04-07T15:16:02.955Z",
  "title": "Pi-hole FTL affected by Remote Code Execution (RCE) via dns.upstreams Newline Injection",
  "vendor": "pi-hole",
  "product": "FTL",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-04-14T06:26:12Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 6.6,
    "repo": "keraattin/CVE-2026-35517",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "FTLDNS (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole's Web interface. From 6.0 to before 6.6, the Pi-hole FTL engine contains a Remote Code Execution (RCE) vulnerability in the upstream DNS servers configuration parameter (dns.upstreams). This vulnerability allows an authenticated attacker to inject arbitrary dnsmasq configuration directives through newline characters, ultimately achieving command execution on the underlying system. This vulnerability is fixed in 6.6.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:pi-hole:ftldns:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "keraattin/CVE-2026-35517",
      "url": "https://github.com/keraattin/CVE-2026-35517",
      "created_at": "2026-04-14T06:26:12Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2014-02-17T21:11:36Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "pi-hole",
        "product": "FTL",
        "ranges": [
          "\u003e= 6.0, \u003c 6.6"
        ],
        "fixed_in": [
          "6.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade FTL to 6.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pi-hole/FTL/security/advisories/GHSA-23w8-7333-p9fj"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/admin/api.php",
      "query_markers": [
        "versions=",
        "versions",
        "version"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "ports": [
        80,
        443,
        4711,
        8080,
        8443
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "keraattin/CVE-2026-35517"
      ],
      "repo_count": 1,
      "confidence": 0.9,
      "evidence": [
        "keraattin/CVE-2026-35517/README.md:380",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS_detector.py:128",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS_detector.py:129",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS.nse:78",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS.nse:79"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/info/version",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "ports": [
        80,
        443,
        4711,
        8080,
        8443
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "keraattin/CVE-2026-35517"
      ],
      "repo_count": 1,
      "confidence": 0.9,
      "evidence": [
        "keraattin/CVE-2026-35517/README.md:377",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS_detector.py:127",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS.nse:75"
      ]
    },
    {
      "method": "GET",
      "path_template": "/admin/",
      "ports": [
        80,
        443,
        4711,
        8080,
        8443
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "keraattin/CVE-2026-35517"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS_detector.py:97",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS.nse:84"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/version",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "ports": [
        80,
        443,
        4711,
        8080,
        8443
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "keraattin/CVE-2026-35517"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS_detector.py:130",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS.nse:76"
      ]
    },
    {
      "method": "GET",
      "path_template": "/admin/index.php",
      "ports": [
        80,
        443,
        4711,
        8080,
        8443
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "keraattin/CVE-2026-35517"
      ],
      "repo_count": 1,
      "confidence": 0.5,
      "evidence": [
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS_detector.py:97",
        "keraattin/CVE-2026-35517/CVE-2026-35517_PiHole_FTLDNS.nse:85"
      ]
    }
  ],
  "rules": []
}
