CVE-2022-24854

Database bypassing any permissions in Metabase via SQlite attach

HIGH
8.8
CVSS Score
Published: April 14, 2022 at 09:40 PM UTC
Updated: June 17, 2026 at 04:32 AM UTC
1 product affected across 1 vendorMetabase

Using metabase by metabase?

Get instant alerts when new vulnerabilities affect metabase - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.41.7v < 0.42.4v < 1.41.7v < 1.42.40.41.0 ≤ v < 0.41.70.42.0 ≤ v < 0.42.41.41.0 ≤ v < 1.41.71.42.0 ≤ v < 1.42.4
Affected range stops below 0.41.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.42.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.41.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.42.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

x_refsource_MISCThird Party Advisory
https://www.sqlite.org/lang_attach.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-610

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card