{"api_version":"1","generated_at":"2026-04-22T22:50:29+00:00","cve":"CVE-2023-32680","urls":{"html":"https://cve.report/CVE-2023-32680","api":"https://cve.report/api/cve/CVE-2023-32680.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-32680","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-32680"},"summary":{"title":"CVE-2023-32680","description":"Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database–but affected versions of Metabase didn't enforce that requirement. This lack of enforcement meant that: Anyone–including people in sandboxed groups–could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-05-18 23:15:00","updated_at":"2023-05-26 02:12:00"},"problem_types":["CWE-306"],"metrics":[],"references":[{"url":"https://github.com/metabase/metabase/pull/30853","name":"https://github.com/metabase/metabase/pull/30853","refsource":"MISC","tags":[],"title":"Backport SQL snippets fix to 45 by noahmoss · Pull Request #30853 · metabase/metabase · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/metabase/metabase/pull/30852","name":"https://github.com/metabase/metabase/pull/30852","refsource":"MISC","tags":[],"title":"Backport SQL snippets fix to 46 by noahmoss · Pull Request #30852 · metabase/metabase · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/metabase/metabase/pull/30854","name":"https://github.com/metabase/metabase/pull/30854","refsource":"MISC","tags":[],"title":"Backport SQL snippets fix to 44 by noahmoss · Pull Request #30854 · metabase/metabase · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv","name":"https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv","refsource":"MISC","tags":[],"title":"Native models enable people without SQL permissions to create and edit SQL snippets · Advisory · metabase/metabase · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-32680","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32680","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"32680","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":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-32680","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database–but affected versions of Metabase didn't enforce that requirement. This lack of enforcement meant that: Anyone–including people in sandboxed groups–could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-306: Missing Authentication for Critical Function","cweId":"CWE-306"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"metabase","product":{"product_data":[{"product_name":"metabase","version":{"version_data":[{"version_affected":"=","version_value":"< 0.44.7"},{"version_affected":"=","version_value":">= 1.0.0, < 1.44.7"},{"version_affected":"=","version_value":">= 0.45.0, < 0.45.4"},{"version_affected":"=","version_value":">= 1.0.0, < 1.45.4"},{"version_affected":"=","version_value":">= 0.46.0, < 0.46.3"},{"version_affected":"=","version_value":">= 1.0.0, < 1.46.3"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv","refsource":"MISC","name":"https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv"},{"url":"https://github.com/metabase/metabase/pull/30852","refsource":"MISC","name":"https://github.com/metabase/metabase/pull/30852"},{"url":"https://github.com/metabase/metabase/pull/30853","refsource":"MISC","name":"https://github.com/metabase/metabase/pull/30853"},{"url":"https://github.com/metabase/metabase/pull/30854","refsource":"MISC","name":"https://github.com/metabase/metabase/pull/30854"}]},"source":{"advisory":"GHSA-mw6j-f894-4qxv","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-05-18 23:15:00","lastModifiedDate":"2023-05-26 02:12:00","problem_types":["CWE-306"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":9.6,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.1,"impactScore":5.8}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.46.0","versionEndExcluding":"1.46.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.45.0","versionEndExcluding":"1.45.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.0","versionEndExcluding":"1.44.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionEndExcluding":"0.44.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.46.0","versionEndExcluding":"0.46.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.45.0","versionEndExcluding":"0.45.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}