BreachSpiderVerified, not vibes

CVE-2022-24854 in Metabase

High 8.8

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS1.1%
EPSS percentile64th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Metabase Metabase ≥ 0.41.0, < 0.41.7 ≥ 0.42.0, < 0.42.4 ≥ 1.41.0, < 1.41.7 ≥ 1.42.0, < 1.42.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-24854
BreachSpider IDBS-2022-GLOBAL-314406-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2022-04-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-610: CWE-610

Related attack patterns (CAPEC)

CAPEC-219 XML Routing Detour Attacks via CWE-610

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-24854 affects Metabase due to SQLite's `ATTACH DATABASE` feature, allowing attackers with SQL permissions to attach and query multiple databases, potentially leading to data exfiltration or manipulation.

An attacker with SQL permissions to at least one SQLite database can use the `ATTACH DATABASE` command to connect to and query multiple databases, bypassing intended access controls and potentially accessing sensitive data.

Questions

What is CVE-2022-24854?

CVE-2022-24854 affects Metabase due to SQLite's `ATTACH DATABASE` feature, allowing attackers with SQL permissions to attach and query multiple databases, potentially leading to data exfiltration or manipulation.

What is the CVSS score for CVE-2022-24854?

CVE-2022-24854 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.1%.

Is CVE-2022-24854 actively exploited?

No confirmed active exploitation of CVE-2022-24854 as of 2026-09-25.

How do I remediate CVE-2022-24854?

Priority: IMMEDIATE.

What systems are affected by CVE-2022-24854?

CVE-2022-24854 affects Metabase Metabase.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Metabase","product":"Metabase","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.