{"id":"CVE-2026-144452","aliases":["EUVD-2026-143745","GHSA-f634-6rhm-8j48","GHSA-v2wh-92mj-qxq7"],"status":"published","title":"greptimedb-mcp-server before 0.6.2 Read-Only Bypass via Comment Markers in Strings","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.","severity":{"version":"4.0","score":6.1,"vector":"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","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":6.1,"vector":"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:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-05","score":0.0098,"percentile":0.63435,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-184"],"published":"2026-12-03T22:15:27Z","modified":"2026-12-05T20:45:35Z","products":[{"vendor":"greptimeteam","product":"greptimedb-mcp-server"}],"references":[{"url":"https://github.com/GreptimeTeam/greptimedb-mcp-server/security/advisories/GHSA-v2wh-92mj-qxq7","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/GreptimeTeam/greptimedb-mcp-server/pull/57","tags":["issue-tracking","patch","fix"]},{"url":"https://github.com/GreptimeTeam/greptimedb-mcp-server/commit/80ffa31d571415eb5b506dee30d8d001c001dec1","tags":["patch","fix"]},{"url":"https://github.com/GreptimeTeam/greptimedb-mcp-server/blob/v0.6.1/src/greptimedb_mcp_server/utils.py#L21-L75","tags":["technical-description","article"]},{"url":"https://github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.6.2","tags":["release-notes","advisory"]},{"url":"https://www.vulncheck.com/advisories/greptimedb-mcp-server-before-0.6.2-read-only-bypass-via-comment-markers-in-strings","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144452","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f634-6rhm-8j48"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144452.json","tags":["advisory"]},{"url":"https://github.com/GreptimeTeam/greptimedb-mcp-server","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-144452","title":"greptimedb-mcp-server before 0.6.2 Read-Only Bypass via Comment Markers in Strings","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.","status":"published","published":"2026-12-03T22:15:27.661Z","modified":"2026-12-04T19:16:47.626Z","cvss":[{"version":"4.0","score":6.1,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-184"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T19:19:00.476196Z"}],"euvd":[{"id":"EUVD-2026-143745","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.","status":"published","published":"2026-12-03T22:15:27Z","modified":"2026-12-04T19:16:47Z","cvss":[{"version":"4.0","score":6.1,"vector":"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","level":"medium"}],"updated_at":"2026-12-04T20:42:20.690406Z"}],"ghsa":[{"id":"GHSA-f634-6rhm-8j48","title":"greptimedb-mcp-server before 0.6.2 contains a read-only mode bypass vulnerability in...","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.","status":"published","published":"2026-12-04T00:31:33Z","modified":"2026-12-04T00:31:38Z","cvss":[{"version":"4.0","score":6.1,"vector":"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:X","level":"medium"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"medium"}],"cwes":["CWE-184"],"updated_at":"2026-12-04T00:52:28.135278Z"}],"nvd":[{"id":"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.","status":"published","published":"2026-12-04T00:19:12.85Z","modified":"2026-12-04T20:19:18.58Z","cvss":[{"version":"4.0","score":6.1,"vector":"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:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-184"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T20:28:17.678597Z"}],"osv":[{"id":"CVE-2026-144452","title":"greptimedb-mcp-server before 0.6.2 Read-Only Bypass via Comment Markers in Strings","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.","status":"published","published":"2026-12-03T22:15:27.661Z","modified":"2026-12-05T20:45:35.591723859Z","cvss":[{"version":"4.0","score":6.1,"vector":"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","level":"medium"}],"cwes":["CWE-184"],"updated_at":"2026-12-04T21:27:50.529822Z"}]}}
