# CVE-2026-144452: greptimedb-mcp-server before 0.6.2 Read-Only Bypass via Comment Markers in Strings

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-184
- **Published:** 2026-12-03T22:15:27.661Z
- **Modified:** 2026-12-04T00:19:12.850Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can bypass the read-only mode of greptimedb-mcp-server by hiding INSERT, DELETE, or DROP statements behind comment markers in SQL string literals, modifying or destroying database data.

## Who should check

- Anyone running GreptimeTeam greptimedb-mcp-server \< 0.6.2

## 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.

## Affected and fixed versions

- GreptimeTeam greptimedb-mcp-server: \< 0.6.2 (cvelist)

## Technologies

MCP servers and SDKs (AI-matched)

## Mitigation

- Upgrade greptimedb-mcp-server to 0.6.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-144452. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-144452.md
Affected: GreptimeTeam greptimedb-mcp-server < 0.6.2
Fixed in: GreptimeTeam greptimedb-mcp-server 0.6.2

Steps:
1. Search this machine and project for GreptimeTeam greptimedb-mcp-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-144452 being exploited?

There is no confirmed exploitation: CVE-2026-144452 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-144452?

Medium: CVSS 6.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-144452?

GreptimeTeam greptimedb-mcp-server \< 0.6.2.

### Is there a fix for CVE-2026-144452?

Yes. Fixed in GreptimeTeam greptimedb-mcp-server 0.6.2. Upgrade greptimedb-mcp-server to 0.6.2 or later.

### How do I check if I'm affected by CVE-2026-144452?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/GreptimeTeam/greptimedb-mcp-server/security/advisories/GHSA-v2wh-92mj-qxq7>
- patch: <https://github.com/GreptimeTeam/greptimedb-mcp-server/pull/57>
- patch: <https://github.com/GreptimeTeam/greptimedb-mcp-server/commit/80ffa31d571415eb5b506dee30d8d001c001dec1>
- article: <https://github.com/GreptimeTeam/greptimedb-mcp-server/blob/v0.6.1/src/greptimedb_mcp_server/utils.py#L21-L75>
- other: <https://github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.6.2>
- other: <https://www.vulncheck.com/advisories/greptimedb-mcp-server-before-0.6.2-read-only-bypass-via-comment-markers-in-strings>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-144452>

HTML: <https://flawdb.com/CVE-2026-144452> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-144452>
