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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-11-18T16:46:08.154Z
- Modified: 2026-11-23T20:40:57.433Z
- Also known as: GHSA-q433-mp6c-8v4f, GO-2026-7006
- Weaknesses: CWE-89, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- StacklokLabs sqlite-mcp: < 0.1.2
- github.com/StacklokLabs/sqlite-mcp (Go): before 0.1.2

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/StacklokLabs/sqlite-mcp/security/advisories/GHSA-q433-mp6c-8v4f> (advisory, web)
- <https://github.com/StacklokLabs/sqlite-mcp/pull/112> (fix, web)
- <https://github.com/StacklokLabs/sqlite-mcp/commit/1da5a6582a4f9d90c778db5687ddcd0c39d2c1ec> (fix, web)
- <https://github.com/StacklokLabs/sqlite-mcp/commit/3c244d61cc0a9c0cc5e4d74719c1dc83edcfa339> (fix, web)
- <https://github.com/StacklokLabs/sqlite-mcp/releases/tag/v0.1.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-130008> (advisory)
- <https://github.com/StacklokLabs/sqlite-mcp> (package)

## Sources

- CVE List: [CVE-2026-130008](https://www.cve.org/CVERecord?id=CVE-2026-130008), CVE Terms of Use, modified 2026-11-18
- GitHub Advisory Database: [GHSA-q433-mp6c-8v4f](https://github.com/advisories/GHSA-q433-mp6c-8v4f), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-7006](https://pkg.go.dev/vuln/GO-2026-7006), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-130008](https://nvd.nist.gov/vuln/detail/CVE-2026-130008), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-130008 · Whole record: https://cve.day/CVE-2026-130008.json · Rebuilt by cve.day 2026-11-25T22:59:51.860Z
