CVE-2026-54658
CRITICAL@hypequery/clickhouse has SQL Injection in parameter escaping that allows arbitrary SQL execution
Title source: cnaDescription
Hypequery is a TypeScript semantic layer for ClickHouse. Prior to 2.0.2, escapeValue() in packages/clickhouse/src/core/utils.ts did not escape backslashes before single quotes during parameter substitution, allowing attacker controlled query parameters with a trailing backslash to escape the closing quote and inject arbitrary SQL. This issue is fixed in version 2.0.2.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/hypequery/hypequery/security/advisories/GHSA-6wcc-39rp-hh9p
X_Refsource_Misc x_refsource_misc
https://github.com/hypequery/hypequery/commit/4dfa9d77d70a08b970e722268b75ca7d13db0bdf
X_Refsource_Misc x_refsource_misc
https://github.com/hypequery/hypequery/blob/main/packages/clickhouse/CHANGELOG.md#202
X_Refsource_Misc x_refsource_misc
https://github.com/hypequery/hypequery/releases/tag/@hypequery/[email protected]
Scores
CVSS v3
9.8
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-89
Status
published
Products (2)
hypequery/clickhouse
0 - 2.0.2npm
hypequery/hypequery
< 2.0.2
Published
Jul 28, 2026
Tracked Since
Jul 29, 2026