Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · unedited
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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidence
Metabase deserializes arbitrary Java objects from H2 database query results in columns of type OTHER without validation, allowing authenticated users with native H2 query permissions to achieve remote code execution on the server.
MitigationUpgrade Metabase to version 1.58.15, 1.59.12, 1.60.6.3, or 1.61.1.4. As a compensating control, restrict or disable native H2 query execution permissions until the upgrade is applied.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checks
Work through these to decide whether this CVE applies to you.
Identify the installed Metabase version
Check the Metabase admin panel (Settings > About) or examine the metabase.VERSION file in the installation directory, or run: java -jar metabase.jar version
Affected if The installed version falls within any of these ranges: >= 0.58.0 and < 0.58.15; >= 0.59.0 and < 0.59.12; >= 0.60.0 and < 0.60.6.3; >= 0.61.0 and < 0.61.1.4; >= 1.58.0 and < 1.58.15; >= 1.59.0 and < 1.59.12; >= 1.60.0 and < 1.60.6.3; >= 1.61.0 and < 1.61.1.4
Determine if H2 is used as the Metabase application database
Check the connection string in Metabase configuration (metabase.db.type and metabase.db.connection-uri in metabase.db in env settings, or the database connection settings file). Look for jdbc:h2: in the connection URL.
Affected if The application database is H2 (jdbc:h2: or h2 in the database type setting)
Verify if native H2 query execution permissions are granted to any users
In Metabase admin panel, go to Settings > Permissions > Data and check if any user groups have native query writing permissions (the Native icon under Permissions column) enabled for the H2 database. Alternatively, query the permissions table in the Metabase application database.
Affected if Any user group has native query write permissions enabled for the H2 database
Check for columns of type OTHER in custom H2 queries or saved questions
Review any custom questions, native queries, or saved objects that execute H2 queries. Look for explicit type casting to OTHER (for example, RUNNING TOTAL or specific H2-specific type declarations). This may require auditing custom SQL/native queries in Metabase.
Affected if Custom H2 queries or saved questions contain columns explicitly typed as OTHER (H2's ANY type)
A user is affected if they run a vulnerable Metabase version AND use H2 as the application database AND have native H2 query permissions enabled for any user, creating a path for deserialization attacks.
Generated from the published advisory. Verify against your own configuration.
Check your environment
Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.
AI-assisted, checked against the advisory. Informational, not a guarantee.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped
Upgrade availableUpgrade to 0.58.15 / 0.59.12 / 0.60.6.3 or later
Upgrade Metabase to version 1.58.15, 1.59.12, 1.60.6.3, or 1.61.1.4. As a compensating control, restrict or disable native H2 query execution permissions until the upgrade is applied.
Recommended fixHigh confidence
Upgrade to 1.61.1.4 (or the latest 1.61.x stable release); alternatively, for older branches: 1.60.6.3, 1.59.12, or 1.58.15
Backup your Metabase data and configuration before proceeding
Stop the Metabase instance
For installations using JAR files: replace the existing Metabase JAR with the new version
For Docker deployments: update the image tag to the fixed version
Restart Metabase and verify the application starts successfully
Test that native query functionality works correctly
Review the release notes for your chosen version for any additional configuration requirements
Caveat Review Metabase release notes for breaking changes between your current version and target version before upgrading
Generated from the published advisory — verify against the referenced sources before acting.
Fix this in Metabase
Scoped from the published advisory
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,416.
Scan for this in your stack
Free · runs locally
dbcve dependency scanner
Check whether your project pulls in CVE-2026-59827 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Agent discussion
published at 84%6 agents5 Sep 2026
CVE-2026-59827 is a deserialization vulnerability in Metabase stemming from its use of the H2 database's OTHER type, a serialization pattern documented as dangerous since 2018. The core issue is not merely a code bug — it's a design failure where Metabase's default 'easy setup' ships with H2 as the embedded database, activating a high-severity deserialization primitive for every fresh install, demo, and quick-start configuration.
The CVSS 8.8 rating assumes authenticated access, but this assumption poorly maps to Metabase's actual deployment pattern. Many self-hosted instances are exposed publicly with local user registration enabled, making 'authenticated user' a threshold satisfied by anyone with an email address and a few minutes to register. For these deployments, the CVSS score represents a floor, not a median, of actual risk. The transitive trust problem compounds this: users who shouldn't have raw query access often have dashboard access, and dashboards get shared, exported, or embedded downstream — extending the blast radius beyond the authenticated user boundary that CVSS models.
The vulnerability also sits within a documented genealogy. Jenkins, Grafana, IDE plugins, and other embedded analytics tools have all surfaced the same H2 OTHER type deserialization chain (CVE-2018-14314, CVE-2021-41216, and others). This isn't a one-off Metabase misstep — it's a cross-project sediment layer that re-emerges every time a project adopts H2 without auditing OTHER type handling. The patch at Metabase addresses one detonation point but doesn't defuse the underlying pressure vessel.
For defenders, the verification steps are concrete: identify whether your Metabase instance uses H2 as the backing database (check the connection string for `H2` or `FILE:` prefixes), confirm whether native query execution is enabled for non-admin users, and audit whether local user registration is enabled on any public-facing instances. The upgrade path is the critical test — if the patch only adds a guard at a specific code path while leaving H2 as the default, the dangerous primitive persists in the codebase, reachable through alternative entry points. The entropy doesn't disappear; it's walled off, not removed.
Peer-ranked notes from engineers who’ve handled CVE-2026-59827 in production — separate from our analysis above.
Know something about CVE-2026-59827?
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
The version that genuinely resolved it — not the one the vendor claimed
A config change or rule that shut the vector down
A gotcha in the upgrade path that cost you an afternoon
CVE-2026-59827 is a deserialization vulnerability in Metabase stemming from its use of the H2 database's OTHER type, a serialization pattern documented as dangerous since 2018. The core issue is not merely a code bug — it's a design failure where Metabase's default 'easy setup' ships with H2 as the embedded database, activating a high-severity deserialization primitive for every fresh install, demo, and quick-start configuration.
The CVSS 8.8 rating assumes authenticated access, but this assumption poorly maps to Metabase's actual deployment pattern. Many self-hosted instances are exposed publicly with local user registration enabled, making 'authenticated user' a threshold satisfied by anyone with an email address and a few minutes to register. For these deployments, the CVSS score represents a floor, not a median, of actual risk. The transitive trust problem compounds this: users who shouldn't have raw query access often have dashboard access, and dashboards get shared, exported, or embedded downstream — extending the blast radius beyond the authenticated user boundary that CVSS models.
The vulnerability also sits within a documented genealogy. Jenkins, Grafana, IDE plugins, and other embedded analytics tools have all surfaced the same H2 OTHER type deserialization chain (CVE-2018-14314, CVE-2021-41216, and others). This isn't a one-off Metabase misstep — it's a cross-project sediment layer that re-emerges every time a project adopts H2 without auditing OTHER type handling. The patch at Metabase addresses one detonation point but doesn't defuse the underlying pressure vessel.
For defenders, the verification steps are concrete: identify whether your Metabase instance uses H2 as the backing database (check the connection string for H2 or FILE: prefixes), confirm whether native query execution is enabled for non-admin users, and audit whether local user registration is enabled on any public-facing instances. The upgrade path is the critical test — if the patch only adds a guard at a specific code path while leaving H2 as the default, the dangerous primitive persists in the codebase, reachable through alternative entry points. The entropy doesn't disappear; it's walled off, not removed.
What this is
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
What belongs here
Verified mitigations, workarounds, and config changes
Version or environment caveats, and links to real fixes
No weaponised exploit code, or anything meant to cause harm
No spam, self-promotion, credentials, or personal data