CVE-2022-39361

Metabase vulnerable to Remote Code Execution via H2

State
Published
Severity
8.8 High
Published
Oct 26, 2022
Updated
Apr 23, 2025
Reserved
Sep 2, 2022

Read the record on cve.org

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, 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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-441 Unintended Proxy or Intermediary ('Confused Deputy')

Affected Products

ProductVersions
metabasemetabase
  • < 0.41.9Affected
  • >= 0.42.0, < 0.42.6Affected
  • >= 0.43.0, < 0.43.7Affected
  • >= 0.44.0, < 0.44.5Affected
  • >= 1.0.0, < 1.41.9Affected
  • >= 1.42.0, < 1.42.6Affected
  • >= 1.43.0, < 1.43.7Affected
  • >= 1.44.0, < 1.44.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.