Skip to content

sqlite-mcp

sqlite-mcp: Read-only mode bypass via statement chaining and SQL injection in describe_table

CVE-2026-130008Published 18 Nov 2026, 16:46 UTC

Real-world risk

6.0/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.2

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

sqlite-mcp is a Model Context Protocol server for SQLite. Prior to 0.1.2, the default read-only mode can be bypassed through execute_query, which accepts a leading SELECT while the SQLite driver executes trailing statements, and through describe_table, which interpolates the caller-controlled table_name into PRAGMA table_info. Either path can issue ATTACH DATABASE, which opens an attached file read-write despite mode=ro and can make the protected database writable, read other SQLite database files, or create a SQLite-format file at a path writable by the server process. Existing non-empty files that are not SQLite databases are refused and left unchanged. The server has no built-in authentication and listens on all interfaces at :8080 by default, so any client that can reach the port can invoke these tools unless an authenticating proxy is in place. This issue is fixed in version 0.1.2.

Am I affected?

ProductAffected versions (from the sources)Fixed in
sqlite-mcpNiche< 0.1.20.1.2

What to do

Update to a fixed version: 0.1.2.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 36), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
  4. Rounded to one decimal between 0.1 and 106.0

How the score works

Exploitation and evidence timeline

  1. 18 Nov 2026 Published
  2. 3 Dec 2026 Risk 6.0 (cvss fallback)

Weakness

CWE-89, CWE-863

References

Get alerts for sqlite-mcp

Free email or text alerts when a vulnerability in sqlite-mcp reaches risk 8 or higher. Nothing else.