{"api_version":"1","generated_at":"2026-04-22T22:49:30+00:00","cve":"CVE-2022-39362","urls":{"html":"https://cve.report/CVE-2022-39362","api":"https://cve.report/api/cve/CVE-2022-39362.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39362","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39362"},"summary":{"title":"CVE-2022-39362","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-10-26 19:15:00","updated_at":"2022-10-28 16:45:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://github.com/metabase/metabase/commit/b7c6bb905a9187347cfc9035443b514713027a5c","name":"https://github.com/metabase/metabase/commit/b7c6bb905a9187347cfc9035443b514713027a5c","refsource":"MISC","tags":[],"title":"Do not autorun ad-hoc native queries (#25675) (#25732) · metabase/metabase@b7c6bb9 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/metabase/metabase/security/advisories/GHSA-93wj-fgjg-r238","name":"https://github.com/metabase/metabase/security/advisories/GHSA-93wj-fgjg-r238","refsource":"CONFIRM","tags":[],"title":"Arbitrary SQL execution from queryhash · Advisory · metabase/metabase · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39362","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39362","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39362","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"metabase","cpe5":"metabase","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39362","STATE":"PUBLIC","TITLE":"Metabase vulnerable to arbitrary SQL execution from queryhash"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"metabase","version":{"version_data":[{"version_value":"< 0.41.9"},{"version_value":">= 0.42.0, < 0.42.6"},{"version_value":">= 0.43.0, < 0.43.7"},{"version_value":">= 0.44.0, < 0.44.5"},{"version_value":">= 1.0.0, < 1.41.9"},{"version_value":">= 1.42.0, < 1.42.6"},{"version_value":">= 1.43.0, < 1.43.7"},{"version_value":">= 1.44.0, < 1.44.5"}]}}]},"vendor_name":"metabase"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-356: Product UI does not Warn User of Unsafe Actions"}]}]},"references":{"reference_data":[{"name":"https://github.com/metabase/metabase/security/advisories/GHSA-93wj-fgjg-r238","refsource":"CONFIRM","url":"https://github.com/metabase/metabase/security/advisories/GHSA-93wj-fgjg-r238"},{"name":"https://github.com/metabase/metabase/commit/b7c6bb905a9187347cfc9035443b514713027a5c","refsource":"MISC","url":"https://github.com/metabase/metabase/commit/b7c6bb905a9187347cfc9035443b514713027a5c"}]},"source":{"advisory":"GHSA-93wj-fgjg-r238","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-10-26 19:15:00","lastModifiedDate":"2022-10-28 16:45:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"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"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.42.0","versionEndExcluding":"1.42.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.43.0","versionEndExcluding":"1.43.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.44.0","versionEndExcluding":"1.44.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.42.0","versionEndExcluding":"0.42.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.43.0","versionEndExcluding":"0.43.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.44.0","versionEndExcluding":"0.44.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.41.0","versionEndExcluding":"1.41.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.41.0","versionEndExcluding":"0.41.9","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}