All vulnerabilities

Servers and applications

CVE-2026-59827

Unsafe Deserialization of H2 Query Results

Severity
High 8.8
Published
30 Jun 2026
Last changed
13 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.60.6.3, 0.61.1.4, 1.58.15, 1.59.12, 1.60.6.3, 1.61.1.4
Exploit chance
3.8% in the next 30 daysHigher than 90% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-w95f-x9v9-wv36
Sources
NVD, Project advisories (GitHub)

Description

Metabase instances with an H2 database connection — including the default sample database — are vulnerable to arbitrary Java object deserialization. An authenticated user who can run native queries against an H2 data source can craft a query that returns serialized Java objects, which Metabase deserializes without validation. This can lead to remote code execution on the Metabase server.

When processing results from native queries against H2 databases, Metabase does not validate the type of values returned in result columns. An H2 column of type OTHER can contain arbitrary serialized Java objects. When such a column appears in query results, Metabase's JDBC result handling deserializes the bytes into Java objects without any type checking or filtering. An attacker who can execute native queries against an H2 database can exploit this to achieve remote code execution.

From metabase/metabase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
MetabaseServers and applications · cpe:a:metabase:metabase
  • From 1.61.0 before 1.61.1.4
  • From 1.60.0 before 1.60.6.3
  • From 1.59.0 before 1.59.12
  • From 1.58.0 before 1.58.15
All 8 release lines
  • From 0.58.0 before 0.58.15
  • From 0.59.0 before 0.59.12
  • From 0.60.0 before 0.60.6.3
  • From 0.61.0 before 0.61.1.4
  • From 1.58.0 before 1.58.15
  • From 1.59.0 before 1.59.12
  • From 1.60.0 before 1.60.6.3
  • From 1.61.0 before 1.61.1.4
MetabaseServers and applications · github:metabase/metabase
  • From 1.58.0 before 1.58.15
  • From 1.59.0 before 1.59.12
  • From 1.60.0 before 1.60.6.3
  • From 1.61.0 before 1.61.1.4

About Metabase

database analytics software

From Wikidata, CC0 1.0.
Companies using it
100,000+Metabase
Docker Hub pulls
279,862,006Docker Hub, 15 Nov 2026
GitHub stars
50,335GitHub, 15 Nov 2026
Forks
7,010GitHub, 15 Nov 2026
Latest release
v0.65.4GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Developer
MetabaseWikidata
License
Affero General Public LicenseWikidata
Written in
ClojureWikidata
First published on GitHub
2 Feb 2015GitHub

Release lines

ReleaseLatestSecurity fixes
650.65.4.4Until 1 Jan 2027
64 (LTS)LTS0.64.6.2Until 1 Dec 2027
630.63.22.3Ended 1 Nov 2026
620.62.19.5Ended 1 Sept 2026
610.61.21.1Ended 1 Sept 2026
600.60.27Ended 1 Sept 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-59827
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59827
  • GitHub Advisory Database https://github.com/advisories/GHSA-w95f-x9v9-wv36
  • github.com https://github.com/metabase/metabase/security/advisories/GHSA-w95f-x9v9-wv36