GHSA-f634-6rhm-8j48MediumCVSS 6.8
greptimedb-mcp-server before 0.6.2 contains a read-only mode bypass vulnerability in...
🔗 CVE IDs covered (1)
📋 Description
greptimedb-mcp-server before 0.6.2 contains a read-only mode bypass vulnerability in security_gate that allows attackers to run write statements by hiding them behind comment markers inside SQL string literals. Attackers influencing model-generated SQL, such as through prompt injection, can stack INSERT, DELETE, or DROP statements via execute_sql to modify or destroy data.
🔗 References (8)
- https://github.com/GreptimeTeam/greptimedb-mcp-server/security/advisories/GHSA-v2wh-92mj-qxq7
- https://nvd.nist.gov/vuln/detail/CVE-2026-144452
- https://github.com/GreptimeTeam/greptimedb-mcp-server/pull/57
- https://github.com/GreptimeTeam/greptimedb-mcp-server/commit/80ffa31d571415eb5b506dee30d8d001c001dec1
- https://github.com/GreptimeTeam/greptimedb-mcp-server/blob/v0.6.1/src/greptimedb_mcp_server/utils.py#L21-L75
- https://github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.6.2
- https://www.vulncheck.com/advisories/greptimedb-mcp-server-before-0.6.2-read-only-bypass-via-comment-markers-in-strings
- https://github.com/advisories/GHSA-f634-6rhm-8j48