Skip to main content

Metabase EUVDEUVD-2026-42659

| CVE-2026-59827 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-09 security-advisories@github.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with native-query rights
  2. Delivery
    Submit crafted native H2 query returning OTHER column
  3. Exploit
    H2 result deserializes malicious Java object
  4. Execution
    Gadget chain executes on server
  5. Impact
    RCE as Metabase service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
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

Requires an authenticated Metabase user (PR:L) who holds native-query / raw-SQL permission against a database served by the H2 engine - this includes the default bundled sample database present on most fresh installs, so the precondition is frequently met out of the box. The attacker must craft a native H2 query that returns a column of type OTHER (JDBC Types.JAVA_OBJECT) containing a serialized Java payload with a usable gadget on the Metabase classpath. Limiting factors: exploitation is impossible without native-query rights on an H2 connection, so deployments that disable native queries or use only non-H2 warehouses are not exploitable; no user interaction is required and it is network-reachable, but it is not unauthenticated.

Impact

Signals are consistent and point to a targeted rather than mass-exploited issue. CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects network reachability, low complexity, and total confidentiality/integrity/availability impact, but crucially requires PR:L - an authenticated user who already holds native-query rights against an H2 database. CISA SSVC rates exploitation 'none' and automatable 'no' with technical impact 'total', and EPSS is low at 0.45% (36th percentile), so this is not currently subject to widespread automated exploitation. The high CVSS is driven by total technical impact once the required native-query privilege is held, not by ease of unauthenticated access. Net: real and serious for any deployment that grants analysts native-query access to H2 (especially the default sample database), but the authentication and native-query prerequisites, plus the absence of confirmed active exploitation, make it a prompt-patch item rather than an emergency internet-facing worm risk.

Exploit ScenarioDerived

An analyst account - or a compromised low-privilege user - with permission to run native SQL against Metabase's H2 sample database submits a crafted native H2 query whose result set includes a column of type OTHER carrying a malicious serialized Java gadget. When Metabase materializes the result via .getObject, the JVM deserializes the object and executes the gadget chain as the Metabase service account. No public POC is identified at time of analysis, though the fix commit clearly documents the vulnerable code path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jul 13, 2026

Remote code execution in Metabase's H2 database driver allows an authenticated user with native-query privileges to run arbitrary Java on the server. When Metabase returns H2 result columns of type OTHER (JDBC JAVA_OBJECT), it deserializes the embedded Java object without validation, so a crafted native H2 query triggers CWE-502 unsafe deserialization and full server compromise. It affects any instance using an H2 connection, including the default bundled sample database. No public exploit is identified at time of analysis (SSVC exploitation: none; EPSS 0.45%), though the upstream fix commit and vendor advisory GHSA-w95f-x9v9-wv36 are public.

Earlier versions of this analysis (2)
v2 Jul 13, 2026 - 14:43 cvss changed CVSS 8.8

Remote code execution in Metabase (open-source and Enterprise editions) lets an authenticated user with native-query privileges over an H2 connection execute arbitrary code on the server. Because Metabase ships a default H2 sample database, exploitable conditions can exist out-of-the-box; the flaw stems from unsafe Java deserialization of H2 result columns of type OTHER. No public exploit has been identified at time of analysis, EPSS is low (0.45%), and SSVC lists exploitation as none, but technical impact is rated total.

v1 Jul 09, 2026 - 18:43 CVSS 9.9

Remote code execution in Metabase business intelligence server allows an authenticated user with native-query privileges against an H2-connected database to run arbitrary code on the host. Because Metabase ships a default H2 'sample database', affected instances are exploitable out of the box wherever native queries are permitted. Rated CVSS 9.9 with a scope-changing vector; no public exploit has been identified at time of analysis, and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to Metabase 1.58.15, 1.59.12, 1.60.6.3, or 1.61.1.4 (community tags v0.58.15, v0.59.12, v0.60.6.3, v0.61.1.4), which reject H2 columns of type JAVA_OBJECT instead of deserializing them (fix commit 00f42511fe3bc4385652a2e96862ee6fd7d42cf8); see the advisory at https://github.com/metabase/metabase/security/advisories/GHSA-w95f-x9v9-wv36 and the corresponding GitHub release tags. If immediate patching is not possible, revoke native (raw SQL) query permissions on all H2-backed databases and, where feasible, remove or disconnect the bundled H2 sample database and any production H2 connections, migrating analytics to a non-H2 warehouse; the trade-off is that analysts lose native-query capability against those sources and the sample dataset becomes unavailable. Additionally restrict who holds data-editor/native-query roles, since exploitation depends on that privilege.

Affected VersionsENISA

Metabase 1.60.0, < 1.60.6.3
Metabase 1.58.0, < 1.58.15
Metabase 1.59.0, < 1.59.12
Metabase 1.61.0, < 1.61.1.4

Affected Packages

euvd metabase_1_58_0 fix: 1.58.15
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.1.4

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 is a Clojure/Java open-source business intelligence platform. The flaw lives in the H2 JDBC driver integration (src/metabase/driver/h2.clj), which reads result-set columns via .getObject. H2 supports a native column type OTHER that maps to JDBC Types.JAVA_OBJECT and carries a serialized Java object; calling .getObject on such a column invokes Java native deserialization (ObjectInputStream) on attacker-influenced bytes. This is a textbook CWE-502 (Deserialization of Untrusted Data): the H2 engine performs the deserialization when the query result is materialized, so any gadget chain on the Metabase classpath can lead to code execution. The fix inspects .getColumnType and throws 'Unable to parse jdbc type' whenever the column type is Types/JAVA_OBJECT, refusing to deserialize OTHER columns entirely.

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 CRITICAL
NVD 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable and low-complexity, but requires an authenticated user with native-query rights (PR:L); deserialization yields full RCE, so C/I/A all High with unchanged scope.

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

Primary rating from Vendor (github).

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Jul 13, 2026 - 14:44 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 13, 2026 - 14:43 vuln.today
v2 - CVSS changed
Severity Changed
Jul 13, 2026 - 14:37 NVD
CRITICAL HIGH
CVSS changed
Jul 13, 2026 - 14:37 NVD
9.9 (CRITICAL) 8.8 (HIGH)
Patch available
Jul 09, 2026 - 19:01 EUVD

DescriptionNVD

Metabase is an open-source business intelligence and embedded analytics tool. Prior to 1.58.15, 1.59.12, 1.60.6.3, and 1.61.1.4, Metabase instances with an H2 database connection, including the default sample database, deserialize arbitrary Java objects returned in H2 native query result columns of type OTHER without validation, allowing an authenticated user who can run native H2 queries to execute code on the Metabase server. This issue is fixed in versions 1.58.15, 1.59.12, 1.60.6.3, and 1.61.1.4.

Executive ViewAI

Why It Matters

Metabase deployments using H2 database connections face a remote code execution vulnerability (CVSS 8.8) that could allow database query access to escalate into full server compromise. The vulnerability impacts organizations with Metabase instances, particularly those using default configurations, and requires immediate patch deployment to mitigate insider threat and system takeover risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Medium
popular open-source BI tool, common in analytics stacks but not ubiquitous
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL Exploit-DB 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
High
Technical Impact
Total

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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-59826 CRITICAL
9.1 Jul 09

Remote code execution in Metabase (open-source BI/analytics platform) versions 1.55.0 through the fixed releases arises

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