Skip to main content

Metabase CVE-2026-103928

| EUVDEUVD-2026-98826 CRITICAL
External Control of File Name or Path (CWE-73)
2026-10-13 GitHub_M
9.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain native-query/actions permission
  2. Delivery
    Target default H2 sample database
  3. Exploit
    Submit query embedding FILE_READ/FILE_WRITE/CSVREAD
  4. Execution
    H2 executes host-facing built-in function
  5. Impact
    Read or write arbitrary server files / link external DB

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

The attacker must be a Metabase user who has been granted permission to run native (SQL) queries or SQL actions, and the target must be an H2-backed data source - critically, Metabase's default bundled 'sample database' uses H2, so the vulnerable surface exists in default installations without extra configuration. Exploitation is performed by embedding host-facing H2 built-in functions (FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, LINK_SCHEMA) inside otherwise-ordinary SELECT/CALL statements. Limiting factors: exploitation is gated by the native-query/actions privilege (not available to view-only users), and instances that have removed the H2 sample database and use only non-H2 data sources, or that have upgraded to 1.58.16/1.59.13/1.60.9/1.61.4, are not exposed.

Impact

This is a genuine high-priority issue, not an inflated CVSS score. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H) scores 9.3 and describes network-reachable, low-complexity exploitation with high confidentiality and integrity impact - consistent with arbitrary file read/write via H2 built-in functions (FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, LINK_SCHEMA). CONFLICT: the vendor sets PR:N (unauthenticated), but the description explicitly states 'A user authorized to run native queries or actions' is required, which means some level of privilege/authorization is in fact needed - this should be PR:L rather than PR:N; verify authorization model with vendor. Mitigating the severity somewhat, exploitation requires the native-query/actions permission; aggravating it, Metabase ships a default H2 'sample database', so the vulnerable surface is exposed in default deployments without any extra configuration. No EPSS score, KEV listing, or POC was provided in the input, so real-world exploitation volume cannot be quantified from available signals; the attack is straightforward to weaponize once a user has native-query access, so absence of a published POC should not be read as low practical risk. Overall: treat as a real, patch-now priority for any internet-exposed or multi-tenant Metabase instance where untrusted users hold native-query/actions rights.

Exploit ScenarioDerived

A user who holds native-query or SQL-actions permissions in Metabase targets the default H2 sample database and submits a query such as SELECT FILE_READ('/etc/passwd','UTF-8') or a FILE_WRITE/CSVWRITE call to read or write arbitrary files on the Metabase server host, or uses LINK_SCHEMA to attach other databases. No public exploit was identified in the provided data, but the technique is documented in the vendor advisory and patch, and the required H2 functions are standard, making exploitation trivial for an authorized native-query user.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 13, 2026

Arbitrary file read and write on the Metabase server is possible through H2-backed native queries and actions in Metabase 1.55.0 up to (but not including) 1.58.16, 1.59.13, 1.60.9, and 1.61.4. An authenticated user who has been granted permission to run native SQL queries or SQL actions can embed host-facing H2 built-in functions such as FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, and LINK_SCHEMA inside otherwise ordinary SELECT/CALL statements, allowing them to read or overwrite files on the Metabase host or attach external databases; because Metabase's default bundled sample database is H2, this attack surface is present in default installations without any extra configuration. There is no public exploit identified at time of analysis and the issue is not in CISA KEV, but the fixed versions are published and the vulnerable privilege is a common analyst-level grant, making this a genuine high-priority issue rather than an inflated score.

RemediationAI

Vendor-released patch: upgrade to Metabase 1.58.16, 1.59.13, 1.60.9, or 1.61.4 (or later), which add the H2 built-in function blocklist to the native query and action paths; the underlying changes are in commits 8fb4f0c8a22f195390b4a1d8f5c21db695ae8cc3, a943448e90e23dbb78001ddedbb15e9c0794473c, abf3fb8427eccefd8d46149cdebe38f3b49f964f, ae60d1cd156d097f084af43a536b3ab60510c9a4, and e231432adcc813a75f3ca4832818bda2d9d265da, with release tags v0.58.15.3, v0.59.12.1, v0.60.8.1, and v0.61.3.4. If immediate upgrade is not possible, apply compensating controls in order of effectiveness: revoke native-query and SQL-action permissions from all but a small, trusted set of users (this directly removes the prerequisite, though it degrades legitimate analyst workflows); and remove or detach the bundled H2 sample database so no H2 data source is reachable, which neutralizes the default-exposed surface but leaves any other H2-backed source still vulnerable. Additional hardening: run the Metabase JVM under a least-privilege OS account or container with read-only or narrowly scoped filesystem mounts and no access to credential/config paths, and network-isolate other databases that LINK_SCHEMA could reach - these reduce blast radius but do not by themselves prevent exploit attempts, so patching remains the primary fix. Reference: https://github.com/metabase/metabase/security/advisories/GHSA-cwxq-fmxq-jv8h.

Affected VersionsENISA

Metabase 1.59.0, < 1.59.13
Metabase 0.59.0, < 0.59.12.1
Metabase 0.60.0, < 0.60.8.1
Metabase 1.60.0, < 1.60.9
Metabase 0.55.0, < 0.58.15.3
Metabase 1.61.0, < 1.61.4
Metabase 0.61.0, < 0.61.3.4
Metabase 1.55.0, < 1.58.16

Affected Packages

euvd metabase fix: 0.58.15.3, 0.59.12.1, 0.60.8.1, 0.61.3.4, 1.58.16, 1.59.13, 1.60.9, 1.61.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Metabase is an open-source business intelligence and analytics platform written primarily in Clojure, and it supports an embedded H2 database as a first-class data source - including the "sample database" shipped and enabled by default. H2 ships a set of built-in functions that operate on the server environment rather than on query data: FILE_READ and FILE_WRITE touch the local filesystem, CSVREAD and CSVWRITE read and write CSV files, LINK_SCHEMA attaches another JDBC database, and others such as ABORT_SESSION, CANCEL_SESSION, DATABASE_PATH, DB_OBJECT_ID, DB_OBJECT_SQL, MEMORY_FREE, and MEMORY_USED expose session, path, and memory state. The root cause is CWE-73 (External Control of File Name or Path): Metabase's H2 driver passed user-supplied native SQL and action SQL straight to H2 without filtering these host-facing functions, so a query's file path argument was attacker-controlled. Notably, the functions can be embedded inside statements that otherwise look like permitted read-only SELECT or CALL queries, which defeats naive statement-type validation. The upstream fix in src/metabase/driver/h2.clj adds a name-based, case-insensitive regex blocklist (unsupported-builtin-function-regex) and a check-no-unsupported-functions call injected into the read-only statement checks, rejecting any native query or action SQL that mentions these identifiers, including when the name appears inside a string literal or with comments interleaved between the function name and its arguments.

Know when Metabase gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.1 HIGH

Network-reachable low-complexity attack, but requires native-query/actions authorization so PR:L not PR:N; arbitrary file read and write give C:H/I:H, with no direct availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 13, 2026 - 17:03 EUVD
CVE Published
Oct 13, 2026 - 15:44 cve.org
CRITICAL 9.3

DescriptionCVE.org

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.

Technical POC Analysis

Bug class: CWE-73 - External Control of File Name or Path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Metabase, a widely used business intelligence platform, contains a critical vulnerability that allows users with native SQL query permissions to read and write arbitrary files on the Metabase server, potentially leading to data exfiltration or system compromise. Default installations are affected because the bundled H2 sample database exposes the necessary functions. Given the common analyst-level grant of SQL permissions, leadership should treat this as a high-priority risk requiring immediate patching and temporary permission restrictions.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
popular open-source BI platform, common in enterprises but not universal
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2021-41277 HIGH POC
7.5 Nov 17

Metabase is an open source data analytics platform. Rated high severity (CVSS 7.5), this vulnerability is remotely explo

CVE-2026-72898 CRITICAL POC
10.0 Aug 10

SQL injection in Metabase's '/reset_password' database endpoint lets a remote, unauthenticated attacker inject arbitrary

CVE-2023-38646 CRITICAL POC
9.8 Jul 21

Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow attackers to execute arbitrary comman

CVE-2026-92813 MEDIUM POC
6.9 Sep 16

Server-side request forgery in Metabase through 0.63.18 lets an attacker bypass GeoJSON URL validation by saving a custo

CVE-2022-43776 MEDIUM POC
6.5 Oct 26

The url parameter of the /api/geojson endpoint in Metabase versions <44.5 can be used to perform Server Side Request For

CVE-2026-72899 CRITICAL
10.0 Aug 10

SQL injection in Metabase lets an unauthenticated remote attacker execute arbitrary SQL against the connected database b

CVE-2023-37470 CRITICAL
9.8 Aug 04

Metabase is an open-source business intelligence and analytics platform. Rated critical severity (CVSS 9.8), this vulner

CVE-2023-32680 CRITICAL
9.6 May 18

Metabase is an open source business analytics engine. Rated critical severity (CVSS 9.6), this vulnerability is remotely

CVE-2022-24853 MEDIUM POC
5.3 Apr 14

Metabase is an open source business intelligence and analytics application. Rated medium severity (CVSS 5.3), this vulne

CVE-2026-50148 CRITICAL
9.1 Jul 15

Remote code execution in Metabase (open-source business intelligence platform) versions 1.54.0 through the fixed release

CVE-2026-59826 CRITICAL
9.1 Jul 09

Remote code execution in Metabase (open-source BI/analytics platform) versions 1.55.0 through the fixed releases arises

CVE-2026-59827 HIGH POC
8.8 Jul 09

Remote code execution in Metabase's H2 database driver allows an authenticated user with native-query privileges to run

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy