Description
Metabase is an open source business intelligence and analytics platform. From 1.55.0 until 1.58.16, 1.59.13, 1.60.9, and 1.61.4, native queries and actions against an H2 data source are passed through without restricting host-facing built-in functions. A user authorized to run native queries or actions can invoke FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, or LINK_SCHEMA to read or write arbitrary files on the Metabase server or link other databases. The default sample database uses H2, so the vulnerable surface is exposed by default. This issue is fixed in versions 1.58.16, 1.59.13, 1.60.9, and 1.61.4.
Published: 2026-10-13
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Metabase is vulnerable when native queries or actions are executed against an H2 data source because the application forwards these queries without restricting H2 built‑in functions, which is a manifestation of CWE-73 (External Control of File Name or Path). An authorized user can invoke FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, or LINK_SCHEMA, giving the ability to read or write any file on the Metabase server. If an attacker writes an executable or modifies configuration files, this can lead to full remote code execution and compromise the host machine.

Affected Systems

The affected product is Metabase as supplied by the Metabase community. Versions 1.55.0 through 1.58.16, 1.59.13, 1.60.9, and 1.61.4 are vulnerable. Because the default sample database uses H2, the vulnerable surface is exposed out of the box unless the sample database is removed or disabled.

Risk and Exploitability

The CVSS score is 9.3, indicating critical severity. EPSS is not available, so the likelihood of exploitation cannot be quantified from the public data, but the vulnerability is listed as not in the KEV catalog. The attack vector is inferred: an adversary that has the ability to run native queries or actions—usually via an authenticated account with appropriate privileges—can supply specially crafted H2 statements that call the unsafe functions. Once those statements are executed, the attacker can read or write arbitrary files, potentially executing malicious code on the host system. No exploit code is publicly available, but the vulnerability is technically straightforward for privileged users to exploit.

Generated by OpenCVE AI on October 13, 2026 at 19:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Metabase to version 1.58.16 or later, which removes the unrestricted built‑in function usage in native queries and actions.
  • Restrict the ability to run native queries or actions to a minimum set of trusted administrators; remove or limit such privileges for all other users.
  • Consider disabling or removing the default H2 sample database to reduce exposure; if the sample database must remain, ensure it is isolated or that its connection URL does not point to a local file system that can be accessed via H2 functions.

Generated by OpenCVE AI on October 13, 2026 at 19:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Metabase
Metabase metabase
Vendors & Products Metabase
Metabase metabase

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description Metabase is an open source business intelligence and analytics platform. From 1.55.0 until 1.58.16, 1.59.13, 1.60.9, and 1.61.4, native queries and actions against an H2 data source are passed through without restricting host-facing built-in functions. A user authorized to run native queries or actions can invoke FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, or LINK_SCHEMA to read or write arbitrary files on the Metabase server or link other databases. The default sample database uses H2, so the vulnerable surface is exposed by default. This issue is fixed in versions 1.58.16, 1.59.13, 1.60.9, and 1.61.4.
Title Metabase: Arbitrary File Read/Write via Unsafe H2 Built-in Functions
Weaknesses CWE-73
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Metabase Metabase
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T16:08:31.731Z

Reserved: 2026-10-01T14:20:19.155Z

Link: CVE-2026-103928

cve-icon Vulnrichment

Updated: 2026-10-13T16:08:21.824Z

cve-icon NVD

Status : Received

Published: 2026-10-13T16:17:10.597

Modified: 2026-10-13T17:17:15.100

Link: CVE-2026-103928

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T19:45:19Z

Weaknesses
  • CWE-73

    External Control of File Name or Path