Input validation error in Metabase - CVE-2022-39361
Published: October 24, 2022 / Updated: May 5, 2026
Metabase
Metabase
Description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper input validation in H2 native query handling for the sample database when processing SQL queries on H2 databases. A remote user can submit specially crafted SQL queries containing DDL statements to execute arbitrary code.
The issue is limited to users able to write SQL queries on H2 databases.