CVE-2023-38646: Pre-authentication remote code execution in Metabase
- Vendor
- Metabase
CVE-2023-38646 is a pre-authentication remote code execution vulnerability in Metabase Open Source and Enterprise. An unauthenticated attacker can retrieve an instance's setup token and submit a malicious database connection configuration to the setup validation functionality. During validation, attacker-controlled H2 JDBC connection settings can trigger arbitrary Java code and operating-system command execution with the privileges of the Metabase process. Affected releases precede Open Source 0.46.6.1 and Enterprise 1.46.6.1, with security fixes also available for older release branches.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity and availability of resources accessible to the Metabase service account. Attackers can execute commands, read application secrets and container environment variables, steal connected-database credentials, export accessible data, modify application resources and deploy malware. Exploitation has enabled customer-database theft and deployment of DreamBus and Linuxsys cryptocurrency-mining malware. Access to additional systems depends on the compromised process's permissions, available credentials and network reachability; exploitation does not inherently grant root or host-level access outside a container.
Mitigation
If you can’t patch tonight, do this now.
Until patching is complete, remove vulnerable Metabase instances from direct internet exposure and restrict access to trusted networks or VPN-connected clients using network-level allowlists. Run Metabase with minimal operating-system and database privileges, limit access to privileged secrets, and restrict unnecessary outbound connectivity to reduce post-exploitation impact. Ordinary Metabase login authentication or MFA alone does not prevent this pre-authentication vulnerability.
Remediation
Patch, then assume compromise.
Upgrade to a supported, patched Metabase release. Fixed Open Source releases include 0.46.6.1, 0.45.4.1, 0.44.7.1 and 0.43.7.2; corresponding Enterprise fixes are 1.46.6.1, 1.45.4.1, 1.44.7.1 and 1.43.7.2. If exploitation is suspected, investigate application, database and endpoint telemetry; remove unauthorized implants and persistence; and revoke or rotate exposed database and cloud credentials. Patching alone does not remove an existing compromise.
Exploits
21 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-38646 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-38646?
- Yes. Mallory tracks 21 public exploits or proofs of concept for CVE-2023-38646, the earliest disclosed Jul 22, 2023.
- Is there a patch for CVE-2023-38646?
- Upgrade to a supported, patched Metabase release. Fixed Open Source releases include 0.46.6.1, 0.45.4.1, 0.44.7.1 and 0.43.7.2; corresponding Enterprise fixes are 1.46.6.1, 1.45.4.1, 1.44.7.1 and 1.43.7.2.
- What products are affected by CVE-2023-38646?
- Metabase.
- How severe is CVE-2023-38646?
- CVE-2023-38646 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 82.8% (100th percentile) as of Nov 28, 2026.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.