<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3ametabasemetabase/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 03 Sep 2026 13:53:34 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3ametabasemetabase/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Authenticated Remote Code Execution in Metabase via H2 Deserialization</title><link>https://feed.craftedsignal.io/briefs/2026-09-metabase-rce/</link><pubDate>Thu, 03 Sep 2026 13:53:34 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-metabase-rce/</guid><description>Metabase instances configured with H2 databases are vulnerable to authenticated remote code execution via insecure Java deserialization triggered through native SQL queries, identified as CVE-2026-59827.</description><content:encoded><![CDATA[<p>Metabase versions 0.58.0 through 0.61.1.4 are affected by a high-severity vulnerability (CVE-2026-59827) that allows authenticated attackers to achieve remote code execution (RCE). The vulnerability stems from insecure deserialization of Java objects within the H2 database engine, which Metabase uses for its internal data storage, including the default sample database.</p>
<p>When an attacker with sufficient privileges to execute native SQL queries interacts with an H2 database instance, they can leverage the 'OTHER' data type to pass arbitrary serialized Java objects to the application. Because the application fails to validate these objects, they are deserialized upon retrieval, leading to arbitrary code execution with the permissions of the Metabase process. This vulnerability is particularly dangerous for instances where the sample H2 database remains active and accessible to authenticated users. Defenders should prioritize patching to the versions listed in the vendor advisory.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker authenticates to the target Metabase instance with valid user credentials.</li>
<li>The attacker navigates to the query interface and identifies an accessible H2 database connection.</li>
<li>The attacker crafts a malicious serialized Java object payload using external tooling.</li>
<li>The attacker executes a native SQL query via the Metabase '/api/dataset' endpoint containing the payload cast to the H2 'OTHER' data type.</li>
<li>The Metabase application processes the query and retrieves the data from the H2 database.</li>
<li>The application performs insecure deserialization of the object returned in the query result column.</li>
<li>The Java deserialization process triggers the execution of arbitrary system commands on the underlying server host.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an authenticated attacker to execute arbitrary OS commands on the host running the Metabase application. This can lead to complete server compromise, including data exfiltration, lateral movement within the environment, and persistence establishment. The vulnerability affects a broad range of recent Metabase versions across various deployment environments.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize patching all Metabase installations to versions that address CVE-2026-59827 as documented in the GitHub security advisory GHSA-w95f-x9v9-wv36. If immediate patching is not possible, disable the sample H2 database and restrict 'native query' permissions for all non-administrative users.</p>
<h2 id="detection-engineering">Detection Engineering</h2>
<p>Deploy monitoring for the following patterns in web server access logs to identify exploitation attempts:</p>
<ol>
<li>Enable web server logging for the '/api/dataset' endpoint to capture POST requests containing SQL queries.</li>
<li>Monitor for native SQL queries involving the CAST function directed at H2-type databases that include suspicious hex strings or references to deserialization gadgets.</li>
<li>Audit for unauthorized access to the '/api/dataset' endpoint by users without explicit database query permissions.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>