greptimedb-mcp-server versions before 0.6.2 have a vulnerability that allows bypassing read-only mode by embedding write statements inside SQL string literals using comment markers. This flaw enables attackers to execute unauthorized INSERT, DELETE, or DROP SQL commands if they can influence model-generated SQL, such as via prompt injection. The issue is fixed in version 0.6.2.