# CVE-2022-39362: Metabase vulnerable to arbitrary SQL execution from queryhash

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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.03%, higher than 64% of CVEs (2026-12-01)
- Published: 2022-10-26T00:00:00.000Z
- Modified: 2026-06-17T04:58:13.087Z
- Weaknesses: CWE-356
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Metabase is data visualization software. Prior to versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9, unsaved SQL queries are auto-executed, which could pose a possible attack vector. This issue is patched in versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9. Metabase no longer automatically executes ad-hoc native queries. Now the native editor shows the query and gives the user the option to manually run the query if they want.

(As written by CVE List.)

## Affected

- metabase metabase: < 0.41.9; >= 0.42.0, < 0.42.6; >= 0.43.0, < 0.43.7; >= 0.44.0, < 0.44.5; >= 1.0.0, < 1.41.9; >= 1.42.0, < 1.42.6; >= 1.43.0, < 1.43.7; >= 1.44.0, < 1.44.5; from 0.41.0 before 0.41.9; from 0.42.0 before 0.42.6; from 0.43.0 before 0.43.7; from 0.44.0 before 0.44.5; and 4 more

## Every score

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

## References

- <https://github.com/metabase/metabase/security/advisories/GHSA-93wj-fgjg-r238> (third-party-advisory)
- <https://github.com/metabase/metabase/commit/b7c6bb905a9187347cfc9035443b514713027a5c> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-39362](https://www.cve.org/CVERecord?id=CVE-2022-39362), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-39362](https://nvd.nist.gov/vuln/detail/CVE-2022-39362), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39362 · Whole record: https://cve.day/CVE-2022-39362.json · Rebuilt by cve.day 2026-11-25T22:58:16.023Z
