Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Metabase-Setup-Endpoint-SQLi-Fix — Fixes unauthenticated SQL injection in a setup endpoint by replacing raw JDBC queries with ORM parameterization and constant-time token validation. | Kitploit
Tools/GitHubGitHub/ubitquity/metabase-setup-endpoint-sqli-fix
Defensive ToolsVulnerability AnalysisWeb SecurityAuthenticationAPI SecurityDatabase Security
GitHububitquity/metabase-setup-endpoint-sqli-fix

Metabase-Setup-Endpoint-SQLi-Fix

Fixes unauthenticated SQL injection in a setup endpoint by replacing raw JDBC queries with ORM parameterization and constant-time token validation.

Share
View Repository
1373 months agoNot yet reviewed

CVE-2026-72898: Metabase Setup Endpoint SQLi Patch

This repository contains the hotfix for CVE-2026-72898, an unauthenticated SQL Injection vulnerability in the setup endpoint of self-hosted Metabase instances.

Left unpatched, attackers can bypass the setup token validation, execute arbitrary database commands, and extract data warehouse credentials.

The Root Cause

The validate-setup-token function previously accepted unvalidated user input and concatenated it directly into a raw JDBC string. This allowed an attacker to break out of the SQL string and append malicious commands.

Patch Architecture

This patch fundamentally shifts the validation mechanism to neutralize SQL injection vectors:

  1. ORM Integration: Migrates database queries from raw strings to Toucan 2 (t2), Metabase's native Object-Relational Mapper.
  2. Input Isolation: The system no longer passes user input into the database to verify the token. Instead, it queries the database for the expected token using strict parameterization.
  3. In-Memory Validation: Uses crypto.equality/eq? to compare the tokens in application memory (Clojure) rather than in the database.
  4. Timing Attack Resistance: The crypto.equality/eq? function executes in constant time, preventing attackers from brute-forcing the token via timing discrepancies.

Implementation Details

Replaces the vulnerable raw jdbc/query logic in metabase.api.setup.

License

Metabase is licensed under the AGPL. This patch is provided under the same terms.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    732
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    405
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    342
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    261
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →