Skip to content
High 8.2

sqlite-mcpに読み取り専用モードを回避される脆弱性、ほかのデータベースを読まれ、書き込まれるおそれ

CVE-2026-130008 First seen on SecPulse

Summary

sqlite-mcpの0.1.2より前では、既定の読み取り専用モードが回避され、ATTACH DATABASEによって別のSQLiteファイルを読まれたり、保護されたデータベースに書き込まれたりするおそれがあります。既定では認証がなく、8080番ポートがすべてのインターフェースで待ち受けるため、そのポートに届く相手なら誰でもツールを呼び出せます。修正版は0.1.2なので、0.1.2以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

sqlite-mcpの0.1.2より前では、既定の読み取り専用モードが回避され、ATTACH DATABASEによって別のSQLiteファイルを読まれたり、保護されたデータベースに書き込まれたりするおそれがあります。既定では認証がなく、8080番ポートがすべてのインターフェースで待ち受けるため、そのポートに届く相手なら誰でもツールを呼び出せます。修正版は0.1.2なので、0.1.2以降へ更新してください。

Affected packages

PackageAffected → Fixed
StacklokLabssqlite-mcp —
Gogithub.com/StacklokLabs/sqlite-mcp
< 0.1.2→ 0.1.2
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details