sqlite-mcp CVE-2026-130008: read-only mode bypass via statement chaining and describe_table injection
Summary
Per the vendor advisory, sqlite-mcp versions below 0.1.2 let a client that can call the MCP tools bypass read-only mode, through statement chaining in execute_query or SQL injection in describe_table. This can modify the protected database, read any SQLite database file the server process can read, and create SQLite files wherever the server process can write. The server has no built-in authentication and listens on :8080 on all interfaces by default. The fix is in 0.1.2.
Severity
Timeline
Repository advisory page shows the advisory as published
Advisory record lists its publication date as this day (per the vendor advisory)
How it happened
Per the vendor advisory, execute_query only checked that a query started with SELECT, and the driver ran every semicolon-separated statement in one call. describe_table put table_name into PRAGMA table_info(%s) with no guard. Through either path, ATTACH DATABASE opened a file read-write regardless of the connection's mode=ro. Existing non-empty files that are not SQLite databases are refused and left unchanged. Read-write mode is not affected beyond its intended capabilities, apart from ATTACH reaching files other than the configured database.
How to check your app
- < 0.1.2: Confirm which sqlite-mcp version is deployed; versions below 0.1.2 are listed as vulnerable.
- < 0.1.2: Check whether the server port (default :8080, all interfaces) is reachable by clients you do not trust.
Sources
Corrections and updates
Cite this entry
- Title
- sqlite-mcp CVE-2026-130008: read-only mode bypass via statement chaining and describe_table injection
- Added
- Nov 21, 2026
- URL
- https://vibeincidents.com/incidents/sqlite-mcp-cve-2026-130008/
- Suggested citation
VibeIncidents. "sqlite-mcp CVE-2026-130008: read-only mode bypass via statement chaining and describe_table injection." Nov 21, 2026. https://vibeincidents.com/incidents/sqlite-mcp-cve-2026-130008/