Critical SQL Injection in Metabase via Password Reset: CVE-2026-72898
An unauthenticated SQL injection in Metabase's password reset endpoint allowed an attacker to execute arbitrary SQL against the application database. This could let an attacker alter records and gain full administrative access to Metabase.
bishopfox.com
Published on bishopfox.com
The vulnerability, tracked as GHSA-vwf4-m7j8-wcjf, affects the unauthenticated POST /api/session/resetpassword endpoint in Metabase. CVE designation: CVE-2026-72898.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The password-reset request body did not restrict undeclared fields, so an unexpected value reached the application-database user lookup as structured input and was interpreted as a SQL expression.
Impact
Successful exploitation could let an attacker alter application-database records, obtain full administrative access to Metabase, access or export data, obtain application secrets, and query connected databases; availability may also be affected depending on the database engine.
What the attacker needed
Network access to the endpoint; self-hosted Metabase affected version
The fix
Metabase fixed this by strictly limiting the reset flow to the expected inputs so undeclared request fields cannot influence the application-database query.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A password reset form normally takes an email address and looks it up in a database. Here, the server also accepted extra hidden fields and passed them into the database query without checking them, so an attacker could slip in database commands. Because no login was needed, anyone who could reach the endpoint could try to take over the whole Metabase installation.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.