CVE-2022-24854
published high CVSS 3.1 · 8.0Database bypassing any permissions in Metabase via SQlite attach
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| metabase | — | metabase>= 1.41.0, < 1.41.7 · >= 0.41.0, < 0.41.7 · >= 1.42.0, < 1.42.4 · >= 0.42.0, < 0.42.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| metabase | metabase | >= 1.41.0, < 1.41.7 (affected)>= 0.41.0, < 0.41.7 (affected)>= 1.42.0, < 1.42.4 (affected)>= 0.42.0, < 0.42.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-610 CWE-610: Externally Controlled Reference to a Resource in Another Sphere
References
2Provider assertions
3GitHub_M · cna
Database bypassing any permissions in Metabase via SQlite attach
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6c41a3662c9bcc3e3bd414e48b153258992e5599de307829ad1c5180fed7ce95
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record