
Independent reconstruction, lab validation, and PoC for CVE-2026-72898 — Metabase unauthenticated SQLi (patched in 0.63.5)
Independent reconstruction, lab validation, and proof-of-concept for the Metabase password-reset SQL injection (CVE-2026-72898), a CVSS 10.0, unauthenticated vulnerability exploited in the wild and added to CISA's Known Exploited Vulnerabilities catalog on 2026-08-11. Fixed in Metabase 0.63.5.
Research window: Aug 15–17, 2026. All exploitation was performed exclusively against lab instances we own.
Web write-up: https://riftweld.github.io/metabase-cve-2026-72898/
This is not the original discovery report. CVE-2026-72898 was publicly disclosed by Metabase and CISA; this repository documents an independent root-cause reconstruction, lab reproduction, and vendor-fix analysis.
| Path | Description |
|---|---|
WRITEUP.md | Full write-up: root cause, exploitation primitives, lab chains, in-the-wild reconstruction, vendor fix, exposure |
LAB-VALIDATION.md | Detailed lab log across eight rounds: reproduction, grammar-surface mapping, oracle measurements, one-write takeover, fix extraction (0.63.5) |
poc/poc_takeover.py | End-to-end lab PoC: session forgery and admin takeover (lab only, edit target host first) |
poc/poc_transcript.md | Captured PoC run against our lab instance |
recon/shodan_metabase_recon.py | Passive exposure enumeration (Shodan API, no active probing) |
notifications/ | Redacted copies of the notification emails sent to affected operators (company-identifying details withheld) |
POST /api/session/reset_password in pre-0.63.5 releases accepts extra
body keys that flow into the auth-identity/login! merge:
user-id as a HoneySQL map → unauthenticated SQL execution against the
app DB, and admin-session creation on the auth-failure pathuser-data.email → orphan admin session creation with no SQLi at alluser-id map form → stacked-statement / raw-SQL primitive (lab: PG + H2)authenticate-owned-keys merge filter that strips caller-controllable
account-selection keys before the merge.product:Metabase): ~16.3K exposed instances;
version triage found ~3,050 endpoint-exposed hosts below the min-safe
release at the time of research.Lab only. Start a vulnerable Metabase (e.g. 0.63.1) with an H2 or Postgres
app DB, point B in poc/poc_takeover.py at it, and run:
python3 poc/poc_takeover.py
Never run this against third-party systems. The exposed deployments were handled via individual notification; per-target records are intentionally not published.
| Date | Event |
|---|---|
| 2026-08-02/03 | In-the-wild attacks against Metabase Cloud customers |
| 2026-08-03 | Metabase blocks affected endpoints |
| 2026-08-06 | Metabase patches and notifies |
| 2026-08-11 | CVE-2026-72898 published; CISA KEV listing |
| 2026-08-15/17 | This independent reconstruction, lab validation, and fix analysis |
Code is provided as-is for defensive and educational use.