Metabase vulnerable to remote code execution via POST /api/setup/validate API endpoint
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
Metabase is an open-source business intelligence and analytics platform. Prior to versions 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, and 1.46.6.4, a vulnerability could potentially allow remote code execution on one's Metabase server. The core issue is that one of the supported data warehouses (an embedded in-memory database H2), exposes a number of ways for a connection string to include code that is then executed by the process running the embedded database. Because Metabase allows users to connect to databases, this means that a user supplied string can be used to inject executable code. Metabase allows users to validate their connection string before adding a database (including on setup), and this validation API was the primary vector used as it can be called without validation. Versions 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, and 1.46.6.4 fix this issue by removing the ability of users to add H2 databases entirely. As a workaround, it is possible to block these vulnerabilities at the network level by blocking the endpoints `POST /api/database`, `PUT /api/database/:id`, and `POST /api/setup/validateuntil`. Those who use H2 as a file-based database should migrate to SQLite.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Metabase | metabase | before 0.43.7.3; 0.44.0.0 to before 0.44.7.3; 0.45.0.0 to before 0.45.4.3; 0.46.0.0 to before 0.46.6.4; 1.0.0 to before 1.43.7.3; 1.44.0.0 to before 1.44.7.3; 1.45.0.0 to before 1.45.4.3; 1.46.0.0 to before 1.46.6.4 | 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, 1.46.6.4 | Patch available | CNA |
- metabase VendorMetabase Affected before 0.43.7.3; 0.44.0.0 to before 0.44.7.3; 0.45.0.0 to before 0.45.4.3; 0.46.0.0 to before 0.46.6.4; 1.0.0 to before 1.43.7.3; 1.44.0.0 to before 1.44.7.3; 1.45.0.0 to before 1.45.4.3; 1.46.0.0 to before 1.46.6.4 Fixed in 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, 1.46.6.4 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* | before 0.43.7.3 | Vulnerable | Metabase |
| cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* | before 1.43.7.3 | Vulnerable | Metabase |
| cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* | 0.44.0 to before 0.44.7.3; 0.45.0 to before 0.45.4.3; 0.46.0 to before 0.46.6.4 | Vulnerable | Metabase |
| cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* | 1.44.0 to before 1.44.7.3; 1.45.0 to before 1.45.4.3; 1.46.0 to before 1.46.6.4 | Vulnerable | Metabase |
- cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* Versions before 0.43.7.3 Vulnerable ·Metabase
- cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* Versions before 1.43.7.3 Vulnerable ·Metabase
- cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* Versions 0.44.0 to before 0.44.7.3; 0.45.0 to before 0.45.4.3; 0.46.0 to before 0.46.6.4 Vulnerable ·Metabase
- cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* Versions 1.44.0 to before 1.44.7.3; 1.45.0 to before 1.45.4.3; 1.46.0 to before 1.46.6.4 Vulnerable ·Metabase
Remediation
- Fix · CNA metabase (metabase) Fixed in 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, 1.46.6.4
Timeline
- 2026-10-02 Threatist record created from CVE-2023-37470
More Metabase vulnerabilities
- TI-2026-51115 Metabase SQL injection via password reset endpoint KEVCVSS 4.0CRITICAL 10.0
- TI-2021-18109 GeoJSON URL validation can expose server files and environment variables to unauthorized users KEVCVSS 3.1CRITICAL 10.0
- TI-2023-20003 Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow… CVSS 3.1CRITICAL 9.8
- TI-2022-08664 File system exposure in Metabase CVSS 3.1MEDIUM 5.9
- TI-2025-05321 Metabase dom.js parseDataUri redos CVSS 4.0MEDIUM 5.3
- TI-2026-36917 Metabase: Remote Code Execution via Snowflake JDBC Driver Arbitrary File Write CVSS 3.1CRITICAL 10.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences