sqlite-mcp: Read-only mode bypass via statement chaining and SQL injection in describe_table
CVE-2026-130008 · GHSA-q433-mp6c-8v4f · published 2026-11-19
- Severity
- High
- CVSS score
- 8.2
- Chance of exploitation (EPSS)
- 0.36%
- Fixed in
- 0.1.2
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Modify the database that read-only mode is meant to protect. Read any SQLite database file the server process can read. Create new SQLite-format files anywhere the server process can write, or write to existing SQLite or empty files. Existing non-empty files that are not SQLite databases are refused and left unchanged. The server has no built-in authentication and, by default, listens on :8080 on all interfaces. Unless it is deployed behind an authenticating proxy, anyone who can reach that port can exploit this.
Upgrade github.com/StacklokLabs/sqlite-mcp to 0.1.2 or later.
Fixed in v0.1.2: ATTACH is disabled in the engine (SQLITE_LIMIT_ATTACHED set to 0) on every connection that runs a statement. Read-only connections set query_only. execute_query rejects input that contains more than one statement. describe_table passes the table name as a bound parameter.
Upgrade to v0.1.2. If you cannot upgrade, don't expose the server to untrusted clients: keep it on a loopback or private interface, or run it behind an authenticating proxy such as ToolHive. Mount only the database you intend to expose, read-only at the filesystem or container level.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| github.com/StacklokLabs/sqlite-mcp | Go | < 0.1.2 | 0.1.2 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.