High severity · published Apr 14, 2022
CVE-2022-24854
Metabase is an open source business intelligence and analytics application
8.8
CVSS
1.1%
EPSS
No
On KEV
Description
Metabase is an open source business intelligence and analytics application. SQLite has an FDW-like feature called `ATTACH DATABASE`, which allows connecting multiple SQLite databases via the initial connection. If the attacker has SQL permissions to at least one SQLite database, then it can attach this database to a second database, and then it can query across all the tables. To be able to do that the attacker also needs to know the file path to the second database. Users are advised to upgrade as soon as possible. If you're unable to upgrade, you can modify your SQLIte connection strings to contain the url argument `?limit_attached=0`, which will disallow making connections to other SQLite databases. Only users making use of SQLite are affected.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ME
Metabase · Metabase
0.41.0 before 0.41.7; 0.42.0 before 0.42.4; 1.41.0 before 1.41.7; 1.42.0 before 1.42.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-24854
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-24854
Release Notes
https://github.com/metabase/metabase/security/advisories/GHSA-vm79-xvmp-7329
Third Party Advisory
https://www.sqlite.org/lang_attach.html
More from Metabase
10.0
CVE-2026-72898
Metabase SQL injection via password reset endpoint
7.5
CVE-2021-41277
GeoJSON URL validation can expose server files and environment variables to unauthorized users
10.0
CVE-2026-72899
Metabase SQL injection via public card or dashboard
9.8
CVE-2023-37470
Metabase is an open-source business intelligence and analytics platform
9.8
CVE-2023-38646
Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow attackers to execute arbitrary commands on the server, at the server's privilege level
