CVE-2026-72898 Critical Metabase Unauthenticated SQL Injecti... - #2752
Open
carlospolop wants to merge 1 commit into
Open
CVE-2026-72898 Critical Metabase Unauthenticated SQL Injecti...#2752carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://offsec.com/blog/cve-2026-72898-2 Content Categories: Based on the analysis, this content was categorized under "Pentesting Web > SQL Injection, with a subsection on structured query-builder/raw-expression injection; optionally cross-reference Network Services Pentesting > Web > Metabase". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
CVE-2026-72898 is a critical, remotely exploitable, unauthenticated SQL injection in the password-reset functionality of self-hosted Metabase. The vulnerable functionality is exposed through the public
POST /api/session/reset_passwordendpoint. A remote attacker who can reach this endpoint can inject an attacker-controlled SQL expression into the Metabase application database, manipulate authentication-related data, and ultimately obtain administ...🔧 Technical Details
Abusing structured query-builder input: APIs that pass JSON objects into a structured SQL builder must enforce strict schemas and primitive types. If a field expected to contain an identifier can instead contain a builder-specific raw-expression object, an attacker may cross the boundary between data and query syntax. With HoneySQL, a structure equivalent to
{:raw "SQL"}causes text to be compiled directly into the statement. Supplying such an object through an insufficiently validated JSON field can therefore create SQL injection even when the application normally uses a query builder rather than string concatenation.Converting application-database SQL injection into account takeover: SQL injection against an application's internal database can be exploited by targeting authentication workflows and records rather than external business data. Password-reset lookups, user identifiers, password hashes, roles, superuser flags, and s...
🤖 Agent Actions
Updated
src/pentesting-web/sql-injection/README.md.Added:
:rawversus bound/:liftvalues.Validation passed: clean diff, balanced code fences, valid references, reachable source URLs, and no forbidden sources.
mdbookwas unavailable locally.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.