CVE-2022-39362

Metabase vulnerable to arbitrary SQL execution from queryhash

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

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-356 Product UI does not Warn User of Unsafe Actions

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.