CVE-2026-130008: sqlite-mcp read-only bypass via execute_query/describe_table

sqlite-mcp before 0.1.2 lets callers bypass read-only mode and use ATTACH DATABASE to read/write SQLite files; upgrade to 0.1.2.

sqlite-mcp versions prior to 0.1.2 have a read-only mode bypass. The default mode=ro can be bypassed through execute_query, which accepts a leading SELECT while the SQLite driver executes trailing statements, and through describe_table, which interpolates caller-controlled table_name into PRAGMA table_info. Either path can issue ATTACH DATABASE, which opens an attached file read-write despite mode=ro, potentially making the protected database writable, reading other SQLite database files, or creating 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.

What to do

1. Upgrade sqlite-mcp to 0.1.2 or later, per the vendor advisory GHSA-q433-mp6c-8v4f. 2. If you cannot upgrade immediately, do not expose the MCP server on :8080 or any untrusted network; place it behind an authenticating proxy and restrict access to trusted clients. 3. Review the NVD entry and vendor advisory for CVE-2026-130008 to confirm applicability to your deployment. 4. Audit existing deployments for signs of unauthorized access or unexpected SQLite files/databases created or modified by the server process. 5. Verify the vendor advisory and release notes before changing production if your environment differs from the default configuration.

Sources