CVE-2022-39361: Metabase vulnerable to Remote Code Execution via H2

Published Oct 26, 2022
·
Updated

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, H2 (Sample Database) could allow Remote Code Execution (RCE), which can be abused by users able to write SQL queries on H2 databases. 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 allows DDL statements in H2 native queries.

Affected Software

8 affected components
Metabase>=0.41.0<0.41.9
Metabase>=0.42.0<0.42.6
Metabase>=0.43.0<0.43.7
Metabase>=0.44.0<0.44.5
Metabase>=1.41.0<1.41.9
Metabase>=1.42.0<1.42.6
Metabase>=1.43.0<1.43.7
Metabase>=1.44.0<1.44.5

Event History

Oct 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-39361?

CVE-2022-39361 is a vulnerability in Metabase data visualization software that allows remote code execution (RCE) on H2 databases.

2

How severe is CVE-2022-39361?

CVE-2022-39361 has a severity rating of 8.8 (high).

3

Which versions of Metabase are affected by CVE-2022-39361?

The following versions of Metabase are affected by CVE-2022-39361: 0.41.0 to 0.41.9, 0.42.0 to 0.42.6, 0.43.0 to 0.43.7, 0.44.0 to 0.44.5, 1.41.0 to 1.41.9, 1.42.0 to 1.42.6, 1.43.0 to 1.43.7, and 1.44.0 to 1.44.5.

4

How can CVE-2022-39361 be exploited?

CVE-2022-39361 can be exploited by users with the ability to write SQL queries on H2 databases.

5

How can I patch CVE-2022-39361?

To patch CVE-2022-39361, update Metabase to version 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, or 1.41.9.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203