CVE-2026-144452
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.
CVSS
MEDIUM 6.1 · v4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- 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/commit/80ffa31d571415eb5b506dee30d8d001c001dec1
- https://github.com/GreptimeTeam/greptimedb-mcp-server/pull/57
- https://github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.6.2
- https://github.com/GreptimeTeam/greptimedb-mcp-server/security/advisories/GHSA-v2wh-92mj-qxq7
- https://www.vulncheck.com/advisories/greptimedb-mcp-server-before-0.6.2-read-only-bypass-via-comment-markers-in-strings
- https://github.com/GreptimeTeam/greptimedb-mcp-server/security/advisories/GHSA-v2wh-92mj-qxq7
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.