# CVE-2023-37470: Metabase vulnerable to remote code execution via POST /api/setup/validate API endpoint

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-12-01)
- Published: 2023-08-04T15:12:43.188Z
- Modified: 2026-06-17T06:08:16.987Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- metabase metabase: < 0.43.7.3; >= 0.44.0.0, < 0.44.7.3; >= 0.45.0.0, < 0.45.4.3; >= 0.46.0.0, < 0.46.6.4; >= 1.0.0, < 1.43.7.3; >= 1.44.0.0, < 1.44.7.3; >= 1.45.0.0, < 1.45.4.3; >= 1.46.0.0, < 1.46.6.4; before 0.43.7.3; before 1.43.7.3; from 0.44.0 before 0.44.7.3; from 0.45.0 before 0.45.4.3; and 4 more

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83> (mitigation, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2023-37470](https://www.cve.org/CVERecord?id=CVE-2023-37470), CVE Terms of Use, modified 2024-10-17
- NVD: [CVE-2023-37470](https://nvd.nist.gov/vuln/detail/CVE-2023-37470), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-37470 · Whole record: https://cve.day/CVE-2023-37470.json · Rebuilt by cve.day 2026-11-25T22:58:26.754Z
