Skip to main content

Metabase CVE-2026-59826

| EUVDEUVD-2026-42664 CRITICAL
Code Injection (CWE-94)
2026-07-09 security-advisories@github.com
9.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Metabase admin credentials
  2. Delivery
    Access Add Database admin endpoint
  3. Exploit
    Register crafted H2 connection with unsafe properties
  4. Execution
    Server initializes connection on unvalidated path
  5. Persist
    Malicious Java executes in Metabase JVM
  6. Impact
    Command execution and host compromise (scope change)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Metabase administrator (CVSS PR:H) with permission to create/register a new database connection, and specifically the ability to add an H2-type datasource with attacker-controlled connection properties - this is the exact feature abused. The vulnerable behavior is limited to one database-creation code path present from 1.55.0 onward, so instances on earlier versions or already on the fixed releases are not affected. No end-user interaction is needed (UI:N) and the endpoint is network-reachable (AV:N), but the hard limiting factor is that the attacker must already hold admin rights and be able to reach the admin database-configuration interface; environments that lock down admin access or disallow H2 datasources substantially constrain the attack.

Impact

The signals are moderately consistent but qualified by the privilege requirement. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H = 9.1 Critical) reflects network-reachable, low-complexity exploitation with total confidentiality/integrity/availability impact and a scope change to the host - but PR:H means the attacker must already hold Metabase administrator rights, which materially lowers real-world exploitability versus an unauthenticated RCE. No EPSS score was provided in the input, and the CVE is not in CISA KEV, so there is no evidence of active exploitation; treat exploitation status as 'no public exploit identified at time of analysis.' In SSVC terms this is high technical impact but with a meaningful access precondition (admin), so it is best framed as a privilege-escalation/lateral-movement and insider or post-compromise risk rather than a mass-exploitable internet threat. The main uncertainty: an admin account is trusted by design, so the practical severity depends heavily on how tightly admin access is controlled and whether the instance is internet-exposed.

Exploit ScenarioDerived

An attacker who has obtained Metabase administrator access (via credential theft, phishing, or a malicious insider) navigates to the Add Database workflow and registers a new H2 connection whose properties embed a Java routine (e.g., a CREATE ALIAS/TRIGGER or INIT payload). When Metabase establishes the connection on the vulnerable code path, the embedded code runs in the server JVM, giving the attacker command execution on the host and, because scope changes, control beyond the application. No public proof-of-concept was identified at time of analysis, and the low attack complexity means a knowledgeable admin-level attacker could trigger it reliably.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 09, 2026

Remote code execution in Metabase (open-source BI/analytics platform) versions 1.55.0 through the fixed releases arises because one database-creation code path failed to validate unsafe H2 JDBC connection properties, letting an authenticated administrator register a crafted H2 datasource and run arbitrary Java on the server host. Because the CVSS scope is Changed (S:C), successful exploitation escapes the application context and yields full host compromise. No public exploit has been identified at time of analysis and it is not listed in CISA KEV, but the CVSS base score of 9.1 and RCE nature make it a high-priority patch for any exposed Metabase instance.

RemediationAI

Vendor-released patch: upgrade to 1.58.15.1, 1.59.12, 1.60.6.3, or 1.61.2 (open-source tags v0.58.15.1, v0.59.12, v0.60.6.3, v0.61.2), choosing the fixed release on your current release line; the fix commit is 74032e5e0a5a70dc45a6a744d37b9ba24eee8d01 and full details are in advisory https://github.com/metabase/metabase/security/advisories/GHSA-8wx2-rxp2-4x35. If you cannot patch immediately, the most effective compensating controls are to tightly restrict who holds Metabase administrator privileges and to require strong MFA on admin accounts, since exploitation needs an admin session; additionally, avoid granting the ability to add or edit database connections beyond a minimal trusted set, and place the Metabase admin interface behind a VPN or IP allowlist so an attacker cannot reach the database-creation endpoint even with stolen low-value credentials. As a targeted hardening measure, prevent registration of H2-type databases where the feature is not needed and monitor for creation of H2 datasources with unusual connection properties; the trade-off is reduced administrative flexibility for teams that legitimately use embedded H2. Note these controls reduce but do not eliminate risk from a fully compromised admin account - patching is the durable fix.

Affected VersionsENISA

Metabase 1.59.0, < 1.59.12
Metabase 1.60.0, < 1.60.6.3
Metabase 1.55.0, < 1.58.15.1
Metabase 1.61.0, < 1.61.2

Affected Packages

euvd metabase_1_55_0 fix: 1.58.15.1
euvd metabase_1_59_0 fix: 1.59.12
euvd metabase_1_60_0 fix: 1.60.6.3
euvd metabase_1_61_0 fix: 1.61.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Metabase supports many database backends via JDBC, including the embedded H2 engine. H2's JDBC URL and connection properties can invoke Java features (for example INIT scripts, TRIGGER/ALIAS definitions calling arbitrary Java, or the FILE_READ/CREATE ALIAS mechanisms) that execute code inside the JVM running Metabase. The root cause is CWE-94 (Improper Control of Generation of Code / code injection): the normal database-add flow strips or rejects dangerous H2 properties, but one particular creation code path (from 1.55.0 onward) omitted that validation, so an admin-supplied H2 connection string could smuggle code-executing properties. The affected component is the Metabase server itself (both the open-source 0.x/1.x lines share the same codebase), and the exploit runs with the privileges of the Metabase JVM process.

Know when Metabase gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

Network-reachable admin endpoint (AV:N, PR:H because admin rights are required), no user interaction, and H2 code execution escapes the app to the host (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jul 09, 2026 - 19:01 EUVD

DescriptionCVE.org

Metabase is an open-source business intelligence and embedded analytics tool. From 1.55.0 until 1.58.15.1, 1.59.12, 1.60.6.3, and 1.61.2, Metabase did not validate unsafe H2 connection properties on one database-creation code path, allowing an authenticated administrator to register a crafted H2 database connection and execute arbitrary Java code on the Metabase server. This issue is fixed in versions 1.58.15.1, 1.59.12, 1.60.6.3, and 1.61.2.

Executive ViewAI

Why It Matters

Metabase (open-source BI/analytics platform) versions 1.55.0 and later are vulnerable to remote code execution via improper H2 database validation, allowing authenticated administrators to achieve full host compromise with no publicly available patch. This vulnerability threatens the integrity and availability of analytics infrastructure relied upon by downstream decision-makers and exposes sensitive organizational data.

Business Impact: Severe
Compensating Controls

Isolate Metabase network segment from production systems; restrict admin role assignment to security-vetted personnel only; implement egress filtering to limit arbitrary Java code execution reach; enable continuous monitoring and alerting for suspicious database creation events; consider running Metabase in a containerized environment with restricted host permissions as a temporary runtime mitigation.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular open-source BI tool, common but not ubiquitous in enterprises
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2021-41277 HIGH POC
7.5 Nov 17

Metabase is an open source data analytics platform. Rated high severity (CVSS 7.5), this vulnerability is remotely explo

CVE-2026-72898 CRITICAL POC
10.0 Aug 10

SQL injection in Metabase's '/reset_password' database endpoint lets a remote, unauthenticated attacker inject arbitrary

CVE-2023-38646 CRITICAL POC
9.8 Jul 21

Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow attackers to execute arbitrary comman

CVE-2026-92813 MEDIUM POC
6.9 Sep 16

Server-side request forgery in Metabase through 0.63.18 lets an attacker bypass GeoJSON URL validation by saving a custo

CVE-2022-43776 MEDIUM POC
6.5 Oct 26

The url parameter of the /api/geojson endpoint in Metabase versions <44.5 can be used to perform Server Side Request For

CVE-2026-72899 CRITICAL
10.0 Aug 10

SQL injection in Metabase lets an unauthenticated remote attacker execute arbitrary SQL against the connected database b

CVE-2023-37470 CRITICAL
9.8 Aug 04

Metabase is an open-source business intelligence and analytics platform. Rated critical severity (CVSS 9.8), this vulner

CVE-2023-32680 CRITICAL
9.6 May 18

Metabase is an open source business analytics engine. Rated critical severity (CVSS 9.6), this vulnerability is remotely

CVE-2026-103928 CRITICAL
9.3 Oct 13

Arbitrary file read and write on the Metabase server is possible through H2-backed native queries and actions in Metabas

CVE-2022-24853 MEDIUM POC
5.3 Apr 14

Metabase is an open source business intelligence and analytics application. Rated medium severity (CVSS 5.3), this vulne

CVE-2026-50148 CRITICAL
9.1 Jul 15

Remote code execution in Metabase (open-source business intelligence platform) versions 1.54.0 through the fixed release

CVE-2026-59827 HIGH POC
8.8 Jul 09

Remote code execution in Metabase's H2 database driver allows an authenticated user with native-query privileges to run

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy