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

Published Dec 3, 2026
·
Updated

greptimedb-mcp-server before 0.6.2 contains a read-only mode bypass vulnerability in securitygate 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 executesql to modify or destroy data.

Affected Software

1 affected component
Greptime greptimedb-mcp-server<0.6.2

Event History

Dec 3, 2026
CVE Published
via MITRE·10:15 PM
Data Sourced
via MITRE·10:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments of greptimedb-mcp-server earlier than 0.6.2 that rely on security_gate read-only mode are affected. Exposure is most relevant where the execute_sql capability can receive model-generated SQL.

2

What does an attacker need to exploit this issue?

The attacker needs a way to influence SQL generated for execute_sql, such as through prompt injection. Exploitation requires user interaction and uses comment markers embedded in SQL string literals to conceal stacked write statements.

3

What should be done to remediate the issue?

Upgrade greptimedb-mcp-server to version 0.6.2 or later. Versions before 0.6.2 should not treat read-only mode as a reliable control against SQL that may be influenced by untrusted input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203