greptimedb-mcp-server before 0.6.2 Read-Only Bypass via Comment Markers in Strings
Summary
| CVE | CVE-2026-144452 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-04 00:19:12 UTC |
| Updated | 2026-12-04 00:19:12 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 6.1 MEDIUM from [email protected]
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
Problem Types: CWE-184 | CWE-184 Incomplete List of Disallowed Inputs
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 6.1 | MEDIUM | 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/C... |
| 4.0 | CNA | CVSS | 6.1 | MEDIUM | 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 |
| 3.1 | [email protected] | Primary | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H |
| 3.1 | CNA | CVSS | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
PassiveConfidentiality
NoneIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | GreptimeTeam | Greptimedb-mcp-server | affected 0.6.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.vulncheck.com/advisories/greptimedb-mcp-server-before-0.6.2-read-only-bypas... | [email protected] | www.vulncheck.com | |
| github.com/GreptimeTeam/greptimedb-mcp-server/commit/80ffa31d571415eb5b5... | [email protected] | github.com | |
| github.com/GreptimeTeam/greptimedb-mcp-server/blob/v0.6.1/src/greptimedb... | [email protected] | github.com | |
| github.com/GreptimeTeam/greptimedb-mcp-server/security/advisories/GHSA-v... | [email protected] | github.com | |
| github.com/GreptimeTeam/greptimedb-mcp-server/pull/57 | [email protected] | github.com | |
| github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.6.2 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Dilanka Kaushal Hewage (r3vpwnx) (en)
There are currently no legacy QID mappings associated with this CVE.