CVE-2026-54658 PUBLISHED

@hypequery/clickhouse has SQL Injection in parameter escaping that allows arbitrary SQL execution

Assigner: GitHub_M
Reserved: 15.06.2026 Published: 28.07.2026 Updated: 29.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor hypequery
Product hypequery
Versions
  • Version < 2.0.2 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE