Description
Tabularis through 0.27.0 contains an incorrect authorization vulnerability in the MCP run_query safety gate that allows prompt-injected agents or untrusted MCP clients to bypass read-only mode by submitting side-effecting SELECT statements. Attackers can run statements like SELECT setval, nextval, or PostgreSQL query_to_xml with embedded DELETE to modify data without approval prompts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TabularisDB | tabularis | ≤ 0.27.0 | — |
References
- https://hackmd.io/@haind/S1BofaIsMx third-party-advisory
- https://github.com/TabularisDB/tabularis/blob/804c4c3bb6fd8eaa2e36cbe49f6c0d58f373b5e9/src-tauri/src/ai_activity.rs#L357-L416 technical-description
- https://github.com/TabularisDB/tabularis/blob/804c4c3bb6fd8eaa2e36cbe49f6c0d58f373b5e9/src-tauri/src/mcp/mod.rs#L1136-L1171 technical-description
- https://github.com/TabularisDB/tabularis product
- VulnCheck Advisory: Tabularis through 0.27.0 Read-Only Bypass via MCP run_query SELECT Classification third-party-advisory