CVE-2022-24854
CVE-2022-24854 — Database bypassing any permissions in Metabase via SQlite attach
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
8.0
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.0 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-610
References
2 on the record
- github.com/metabase/metabase/security/advisories/GHSA-vm79-xvmp-7329
x_refsource_CONFIRM
- www.sqlite.org/lang_attach.html
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-72898 Metabase SQL injection via password reset endpointCVSS 10.0 · CISA KEV
- CVE-2021-41277 Metabase GeoJSON API Local File Inclusion VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-59827 Metabase: Unsafe Deserialization of H2 Query ResultsCVSS 8.8
- CVE-2022-30190 Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution VulnerabilityCVSS 9.3 · CISA KEV
- CVE-2022-27593 QNAP Photo Station Externally Controlled Reference VulnerabilityCVSS 9.1 · CISA KEV
- CVE-2025-0111 Palo Alto Networks PAN-OS File Read VulnerabilityCVSS 6.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.