CVE-2026-130008: sqlite-mcp: Read-only mode bypass via statement chaining and SQL injection in describe_table
Published 2026-11-19 · Updated 2026-11-23 · Also known as GHSA-q433-mp6c-8v4f, GO-2026-7006
Summary
The sqlite-mcp package contains authorization bypass and SQL injection vulnerabilities that allow read-only mode to be compromised through statement chaining and parameter interpolation. Engineering teams using affected versions should upgrade immediately.
Who is affected
In default read-only deployments, unauthorized attackers can modify protected databases, read arbitrary SQLite files accessible to the process, and create or write to new SQLite files. These actions can be achieved via statement chaining in execute_query or SQL injection in describe_table combined with ATTACH DATABASE.
Exploitability
The vulnerability carries a CVSS base score of 8.2 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N, indicating network exploitation requires no privileges or user interaction. The EPSS score is 0.004 with a 0.310 percentile, and CISA KEV status is no.
Remediation
- Upgrade the github.com/StacklokLabs/sqlite-mcp package to version 0.1.2 or later.
- If unable to upgrade, restrict the server to a loopback or private interface, place it behind an authenticating proxy, and mount targeted databases read-only at the filesystem or container level.
How to check your project
- Check go.mod and go.sum to determine if github.com/StacklokLabs/sqlite-mcp is included in the project dependencies.
- Verify whether the installed version of github.com/StacklokLabs/sqlite-mcp falls within the affected introduced range (0 up to 0.1.2).
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/StacklokLabs/sqlite-mcp |
>= 0, < 0.1.2 | 0.1.2 | go get github.com/StacklokLabs/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity | High |
| Availability | None |
FAQ
What causes the read-only mode bypass in sqlite-mcp?
The bypass occurs because execution only checked that queries started with SELECT while permitting multiple semicolon-separated statements, and the describe_table tool unsafely interpolated table names.
Are read-write deployments affected?
Read-write mode is not affected beyond its intended capabilities, except for the ATTACH command's ability to reach files outside the configured database.
What versions fix these vulnerabilities?
Version 0.1.2 of github.com/StacklokLabs/sqlite-mcp contains the fixes for these issues.
Original advisory description
References
- WEB https://github.com/StacklokLabs/sqlite-mcp/security/advisories/GHSA-q433-mp6c-8v4f
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-130008
- WEB https://github.com/StacklokLabs/sqlite-mcp/pull/112
- WEB https://github.com/StacklokLabs/sqlite-mcp/commit/1da5a6582a4f9d90c778db5687ddcd0c39d2c1ec
- WEB https://github.com/StacklokLabs/sqlite-mcp/commit/3c244d61cc0a9c0cc5e4d74719c1dc83edcfa339
- PACKAGE https://github.com/StacklokLabs/sqlite-mcp
- WEB https://github.com/StacklokLabs/sqlite-mcp/releases/tag/v0.1.2
Source records: GHSA-q433-mp6c-8v4f, GO-2026-7006 (OSV.dev) · EPSS by FIRST, 2026-11-26.