Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-59827: Metabase H2 Query Result Deserialization RCE

Published Jul 9, 2026 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 2 in a dayToday
CVSS8.8High · v3.1
EPSS3.8%91st percentile
CISA KEVNoNot listed
In the wildReported2 exploitation records in Mallory
Vendor
Metabase
IdentifiersCVE-2026-59827CWE-502 · Deserialization of Untrusted Data

CVE-2026-59827 is an unsafe deserialization vulnerability in Metabase's handling of H2 native query results. Instances with an H2 database connection, including the default sample database, deserialize arbitrary Java objects returned in result columns of type OTHER without validation. An authenticated user permitted to execute native H2 queries can supply malicious serialized objects and achieve remote code execution on the Metabase server. The vulnerability is fixed in releases 1.58.15, 1.59.12, 1.60.6.3, and 1.61.1.4.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the Metabase server through arbitrary code execution with the privileges of the Metabase process. This can expose application secrets and connected data sources, permit modification or destruction of accessible data, and disrupt service availability. The vulnerability has a CVSS v3.1 score of 9.9 with vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Mitigation

If you can’t patch tonight, do this now.

Until patching is complete, restrict native query execution permissions to trusted users and disable or remove H2 database connections, including the default sample database, where feasible. Restrict network access to Metabase to reduce exposure; network restrictions alone do not prevent exploitation by an authorized user with native H2 query access.

Remediation

Patch, then assume compromise.

Upgrade Metabase to the fixed release for the deployed branch: 1.58.15, 1.59.12, 1.60.6.3, or 1.61.1.4, or a later supported release containing the fix. If compromise is suspected, investigate the host and Metabase administrator accounts, remove unauthorized accounts, and rotate stored database credentials and other exposed secrets.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2026-59827Repository is a small standalone Python proof-of-concept repository with 3 files: a single executable script (CVE-2026-59827.py), README, and Apache 2.0 license. The Python script is the clear entry point and implements an 'AuthorizedMetabaseTester' class around requests.Session plus argparse-driven CLI handling. Primary purpose: validate the presence of the claimed Metabase vulnerability CVE-2026-59827 by sending crafted SQL expressions to the Metabase dataset API. The visible exploitation path is a POST request to the target's /api/dataset endpoint with JSON containing database=1, type='native', and native.query='SELECT <payload>'. The script then inspects only coarse response characteristics such as HTTP status, response length, and whether the response contains the word 'error'. Capabilities advertised by the code and README include demonstration modes for version disclosure, database type detection, current-user enumeration, schema disclosure, and harmless SQL execution validation. It also performs local audit logging for each action to pentest_log_<id>.json and generates a summary report after execution. The code includes interactive authorization prompts and optional auth-token input, but these are local operator-side safeguards rather than technical controls on the target. This is not a framework module and not merely a detector: it actively sends exploit-like SQL payloads to a live web API, though it is positioned as a constrained proof-of-concept rather than a destructive post-exploitation tool. No persistence, shell payload, privilege escalation, or lateral movement functionality is evident from the provided content.pickl31 · Disclosed Jul 23, 2026 · python · markdown · webOperationalcve-2026-59827-metabase-cyber-rangeThis 79-file repository is an educational Docker cyber range modeling CVE-2026-59827 rather than a real Metabase distribution or a weaponized public exploit. The primary service is a Python/Flask Metabase emulator in metabase/app/server.py, seeded by seed.py with BI-style SQLite data and a training_objects row containing a serialized Python TrainingObject. Authenticated users with native-query permission can submit SQL through /api/dataset; selecting training_objects id=1 reaches vulnerable_deserialize(), which uses pickle.loads() and executes the object's controlled artifact-write behavior. Java files under metabase/vulnerable/training/ provide a conceptual ObjectInputStream/OTHER-column analogue, while metabase/patched/ demonstrates rejection of OTHER/JAVA_OBJECT values. Attacker-side Python utilities perform reconnaissance, authenticate, enumerate the database and user permissions, issue native queries, and retrieve artifacts/events. Observer utilities collect application logs and artifacts into forensic timelines. The repository also includes Docker orchestration, challenge documentation, shell tests, Nuclei/Sigma/YARA detection content, and a patched Compose profile. The payload is deliberately constrained to lab artifact creation and logging; it does not include an arbitrary command execution chain despite the training material describing the real vulnerability class as potentially leading to RCE.shivammittal2403 · Disclosed Sep 17, 2026 · python · java · webOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
MetabaseMetabaseapplication
FAQ

Frequently asked questions

Is CVE-2026-59827 exploited in the wild?
Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-59827?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-59827, the earliest disclosed Jul 23, 2026.
Is there a patch for CVE-2026-59827?
Upgrade Metabase to the fixed release for the deployed branch: 1.58.15, 1.59.12, 1.60.6.3, or 1.61.1.4, or a later supported release containing the fix. If compromise is suspected, investigate the host and Metabase administrator accounts, remove unauthorized accounts, and rotate stored database credentials and other exposed secrets.
What products are affected by CVE-2026-59827?
Metabase.
How severe is CVE-2026-59827?
CVE-2026-59827 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 3.8% (91st percentile) as of Nov 27, 2026.
Activity feed

Recent activity

14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Nov 27, 2026BabidiGhost Metabase Takeovers: Inside the Actor’s Second Server - Malware News - Malware Analysis, News and IndicatorsAn alleged remote code execution vulnerability in Metabase, identified in BabidiGhost’s files as part of an exploit chain used during mass takeovers. The report describes exploitation and recommends upgrading Metabase to a patched release, citing 0.63.5 or a branch fix, but explicitly states that the CVE identifiers have not been independently validated.Read more ↗socradar blogNews · Nov 27, 2026BabidiGhost Metabase Takeovers: Inside the Second ServerA purported remote-code-execution vulnerability in Metabase, identified in BabidiGhost’s files as chained with a pre-authentication session-forgery flaw during mass exploitation. The report describes exploitation and recommends upgrading to a patched Metabase release, citing 0.63.5 or a branch fix, but does not independently validate the CVE identifier or its attribution to the observed exploitation.Read more ↗cert pyNews · Jul 22, 2026Vulnerabilidades en productos Metabase - CERT-PYCritical insecure deserialization vulnerability in Metabase affecting instances connected to an H2 database, allowing arbitrary Java object deserialization from native query results and potentially arbitrary code execution by an authenticated attacker with basic privileges to run native H2 queries.Read more ↗security online infoNews · Jul 16, 2026CVE-2026-59827 (CVSS 9.9): Metabase RCE FlawA critical authenticated remote code execution vulnerability in Metabase's H2 database handling caused by unsafe deserialization of serialized Java objects returned from native H2 queries.Read more ↗
+1 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence2Every report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity9Community discussion across Reddit, Mastodon, and other social sources.