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's database connection validation workflow. An unauthenticated attacker can obtain an instance's setup token and submit crafted connection details that cause the H2 JDBC driver to execute attacker-controlled Java code during validation, enabling operating-system command execution with the Metabase process's privileges. The vulnerability affects Metabase Open Source releases before 0.46.6.1 and Enterprise releases before 1.46.6.1, except for earlier branches receiving security backports.
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 process. Attackers can execute commands, obtain application and database credentials, steal connected database contents, and deploy malware or persistence mechanisms, subject to available permissions. Observed exploitation has included credential theft, customer database exfiltration, and deployment of DreamBus and cryptocurrency miners.
Mitigation
If you can’t patch tonight, do this now.
Remove vulnerable Metabase instances from direct internet exposure and restrict access to trusted networks, VPN users, or explicitly allowed addresses until patched. Limit the Metabase process's privileges and access to sensitive credentials to reduce post-exploitation impact. Ordinary Metabase login requirements do not prevent this pre-authentication vulnerability.
Remediation
Patch, then assume compromise.
Upgrade to a supported, fully patched Metabase release. Fixes for this vulnerability were released in Open Source versions 0.46.6.1, 0.45.4.1, 0.44.7.1, and 0.43.7.2, and Enterprise versions 1.46.6.1, 1.45.4.1, 1.44.7.1, and 1.43.7.2. If compromise is suspected, investigate server and database activity, remove unauthorized persistence, and revoke or rotate exposed 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 27, 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, fully patched Metabase release. Fixes for this vulnerability were released in Open Source versions 0.46.6.1, 0.45.4.1, 0.44.7.1, and 0.43.7.2, and Enterprise versions 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 27, 2026.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.