Immediate Patch Application
Upgrade immediately to Metabase 0.58.24, 0.59.21, 0.60.17, 0.61.11, 0.62.9, or 0.63.5. All parallel maintenance trains have dedicated security releases.
Metabase Business Intelligence Suite โ Password Reset API & Clojure HoneySQL Core CVSS v3.1 assigns a maximum score of 10.0 (Critical) due to unauthenticated network exploitability with total loss of confidentiality, integrity, and availability across authorization scopes. The Hermes Threat Score evaluates this vulnerability at 98 (CRITICAL) with an Agentic Security Score (HASS) of 72 (HIGH). Metabase operates as a centralized data aggregation and visualization gateway connecting directly to high-value enterprise databases and data lakes (Snowflake, BigQuery, PostgreSQL, MySQL). Unauthenticated SQL injection on /api/session/reset_password allows adversaries to extract the application encryption key (MB_ENCRYPTION_SECRET_KEY), decrypt stored database credentials, and forge administrative sessions in the core_session table. The Shadowserver Foundation sensor telemetry documents mass scanning and automated exploitation campaigns on port 3000/tcp, demonstrating active in-the-wild weaponization.
Software platform affected by security vulnerabilities and agentic attack patterns.
“Confirmed security vulnerability in Metabase Business Intelligence documented in Hermes dossier.”
Metabase serves as an analytics layer across modern data stacks. It runs as a Clojure application on the Java Virtual Machine (JVM), using the HoneySQL library to programmatically generate database queries against its application database.
| Parameter | Technical Specification | Operational Details |
|---|---|---|
| CVE Identifier | CVE-2026-72898 | International vulnerability catalog identifier |
| Affected Product | Metabase Open Source & Enterprise | Business intelligence & reporting analytics platform |
| Vulnerable Component | src/metabase/api/session.clj & user reset model | Password reset token verification handler |
| Vulnerability Class | CWE-89 / CWE-287 / CWE-306 | SQL Injection / Missing Authentication / Authentication Bypass |
| Attack Vector | Network (POST /api/session/reset_password) | Single unauthenticated HTTP payload |
| Remediation Releases | v0.58.24, v0.59.21, v0.60.17, v0.61.11, v0.62.9, v0.63.5 | Strict parameterization and token sanitization |
[ Unauthenticated Remote Attacker ] | 1. POST /api/session/reset_password - token: "' UNION SELECT ... INTO core_session --" - password: "AttackerSuppliedSecret!" | v +-------------------------------------------+ | Metabase Jetty Web Server (:3000) | | Endpoint: /api/session/reset_password | +-------------------------------------------+ | v +-------------------------------------------+ | Vulnerable Clojure Token Handler | | Bypasses HoneySQL parameterization; | | Concatenates raw reset token into SQL | +-------------------------------------------+ | v +-------------------------------------------+ | Metabase Internal Metadata Database | | (H2 / PostgreSQL / MySQL) | | - Executes Injected SQL Statement | | - Inserts session into core_session | | - Leaks MB_ENCRYPTION_SECRET_KEY | +-------------------------------------------+ | v 2. GET /api/user/current (Cookie: metabase.SESSION=<forged_token>) | v +-------------------------------------------+ | Full Admin Compromise & DB Pivot | | - Access connected Snowflake/Postgres DBs| | - Remote code execution via native SQL | +-------------------------------------------+In Metabase, password resets are processed via /api/session/reset_password. The endpoint accepts a JSON dictionary containing the password reset token and the new password. The application resolves the reset token by querying the user record associated with the token.
In vulnerable versions, the token lookup routine in the Clojure session namespace failed to pass the input through HoneySQLโs parameterized binding map. Instead, a string formatting helper constructed an unparameterized raw query fragment:
;; Vulnerable Implementation in session token validation(defn get-user-by-reset-token [token] (let [sql-query (str "SELECT u.* FROM core_user u " "JOIN reset_token r ON u.id = r.user_id " "WHERE r.token = '" token "' AND r.expires_at > NOW()")] (db/query-one (honeysql.core/raw sql-query))))Because token is passed directly into honeysql.core/raw without parameter binding (?), an attacker who supplies a token such as:
' OR 1=1; INSERT INTO core_session (id, user_id, created_at) VALUES ('attacker-session-uuid', 1, NOW()); --causes the application database engine to execute stacked queries (in PostgreSQL or H2) or union queries, writing an active session token tied to user_id = 1 (the primary instance administrator) directly into the core_session table.
Telemetry from The Shadowserver Foundation and honeypots shows that threat actors exploit this flaw in a two-step automated cadence:
/api/session/reset_password carrying the injection payload in the token field. Metabase executes the SQL injection and returns an HTTP 400 Bad Request (due to subsequent schema verification failing), while the database transaction commits the forged session row into core_session.GET /api/user/current containing the cookie metabase.SESSION=<forged_uuid>. Metabase validates the session against core_session and returns HTTP 200 OK with the administrator profile.GET /api/database to enumerate all connected database integrations. Using the application encryption secret retrieved from the metadata database, the attacker decrypts passwords and connection strings for backend databases.POST /api/dataset) to execute arbitrary SQL queries against internal databases, exfiltrating customer tables or executing COPY ... TO PROGRAM commands in PostgreSQL integrations to gain shell access.title: Metabase Pre-Auth SQL Injection Exploitation Sequenceid: d7e9c4b1-8452-4f9e-9132-72898cbe0001status: stabledescription: Detects exploitation sequence of Metabase CVE-2026-72898 indicated by failed reset_password followed by admin user resolution.author: Hermes Codex Cyber Intelligencereferences: - https://dashboard.shadowserver.org/ - https://nvd.nist.gov/vuln/detail/CVE-2026-72898date: 2026-10-10logsource: category: webserverdetection: selection_reset: cs-method: 'POST' cs-uri-stem: '/api/session/reset_password' sc-status: - 400 - 500 selection_current: cs-method: 'GET' cs-uri-stem: '/api/user/current' sc-status: 200 timeframe: 10s condition: selection_reset | near selection_currentfields: - c-ip - cs-uri-stem - sc-statusfalsepositives: - Rare legit reset failure immediately followed by existing logged-in session tab switchlevel: critical// Detect Metabase CVE-2026-72898 Exploitation Patternlet ResetRequests = W3CIISLog| where csMethod == "POST" and csUriStem has "/api/session/reset_password" and scStatus in (400, 500)| project ResetTime = TimeGenerated, ClientIP = cIP, Computer;let AdminRequests = W3CIISLog| where csMethod == "GET" and csUriStem has "/api/user/current" and scStatus == 200| project AdminTime = TimeGenerated, ClientIP = cIP, Computer;ResetRequests| join kind=inner (AdminRequests) on ClientIP, Computer| where AdminTime between (ResetTime .. (ResetTime + 30s))| project ResetTime, AdminTime, ClientIP, Computer-- Metabase Application Database Incident Audit Query-- Detect forged sessions created without valid user login flowSELECT s.id AS session_id, s.user_id, u.email, u.is_superuser, s.created_atFROM core_session sJOIN core_user u ON s.user_id = u.idWHERE s.created_at >= NOW() - INTERVAL '7 days' AND s.id NOT IN ( -- Cross-check against authentication audit log entries if enabled SELECT session_id FROM audit_log WHERE topic = 'user-login' )ORDER BY s.created_at DESC;Immediate Patch Application
Upgrade immediately to Metabase 0.58.24, 0.59.21, 0.60.17, 0.61.11, 0.62.9, or 0.63.5. All parallel maintenance trains have dedicated security releases.
Session Invalidation
Purge all active sessions by executing DELETE FROM core_session; on the application database. Force all users to re-authenticate with MFA.
Database Secret Rotation
Rotate passwords and service accounts for every connected database source in Metabase, as connection strings may have been exfiltrated.
Network Perimeter Isolation
Restrict access to Metabase port 3000 to internal VPNs or authorized IP ranges. Metabase should never be exposed unauthenticated to the public internet.