Skip to content
FlawDB
Sign in

CVE-2026-130008

HIGH 8.2EPSS 39%

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

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

Mitigation

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

Who should check

  • Projects that depend on Go package github.com/StacklokLabs/sqlite-mcp (< 0.1.2)
  • Anyone running StacklokLabs sqlite-mcp < 0.1.2

Vulnerability facts

Affected
github.com/StacklokLabs/sqlite-mcp < 0.1.2
Fixed in
0.1.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: High
  • Availability impact: None
EPSS
0.54% chance of exploitation in 30 days (percentile 39, 2026-11-28)
CWE
CWE-89, CWE-863
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/StacklokLabs/sqlite-mcp< 0.1.20.1.2ghsa
StacklokLabs sqlite-mcp< 0.1.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-130008. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-130008.md
Affected: github.com/StacklokLabs/sqlite-mcp < 0.1.2
Fixed in: 0.1.2

Steps:
1. Search this machine and project for github.com/StacklokLabs/sqlite-mcp (Go), StacklokLabs sqlite-mcp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-130008 being exploited?

There is no confirmed exploitation: CVE-2026-130008 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-130008?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-130008?

github.com/StacklokLabs/sqlite-mcp < 0.1.2.

Is there a fix for CVE-2026-130008?

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

How do I check if I'm affected by CVE-2026-130008?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors