title: Metabase vulnerable to arbitrary SQL execution from queryhash
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.
problem types: CWE-356: Product UI does not Warn User of Unsafe Actions
affected:
{
vendor: metabase
product: metabase
versions:
version: < 0.41.9, status: affected
version: >= 0.42.0, < 0.42.6, status: affected
version: >= 0.43.0, < 0.43.7, status: affected
version: >= 0.44.0, < 0.44.5, status: affected
version: >= 1.0.0, < 1.41.9, status: affected
version: >= 1.42.0, < 1.42.6, status: affected
version: >= 1.43.0, < 1.43.7, status: affected
version: >= 1.44.0, < 1.44.5, status: affected
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
baseScore: 8.8
baseSeverity: HIGH
]