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

Published Updated

Any client reaching the sqlite-mcp port can bypass read-only mode to read or write SQLite files or create writable files; users of this MCP server should care.

CVSS score

High

8.2/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
0.1.2
Attack path
Over the internet
No login, no user action

What is CVE-2026-130008?

CVE-2026-130008 is a high-severity security feature bypass vulnerability in StacklokLabs sqlite-mcp, published on 18 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-89, CWE-863

How severe is CVE-2026-130008?

CVE-2026-130008 scores 8.2 out of 10 under CVSS 3.1, which is high severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Which versions are affected by CVE-2026-130008?

2 open source packages ship an affected version, including github.com/StacklokLabs/sqlite-mcp.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
github.com/StacklokLabs/sqlite-mcp Go
pkg:golang/github.com/stackloklabs/sqlite-mcp
All versions0.1.2
github.com/StacklokLabs/sqlite-mcp Go
pkg:golang/github.com/stackloklabs/sqlite-mcp
All versions0.1.2
Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedgithub.com/StacklokLabs/sqlite-mcp (0.1.2)
pkg:golang/github.com/stackloklabs/sqlite-mcp

How do I fix CVE-2026-130008?

Upgrade github.com/StacklokLabs/sqlite-mcp to 0.1.2 or later.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-130008 being exploited?

There is no known exploitation of CVE-2026-130008 in the wild and no public exploit code.

Sources

Also known as GHSA-q433-mp6c-8v4f, GO-2026-7006.

Is CVE-2026-130008 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free