CVE-2026-54658: Vulnerability in @hypequery/clickhouse
Critical. Hypequery is a TypeScript semantic layer for ClickHouse. Prior to 2.5.1, 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. Version 2.0.2 fixes string parameters, while...
npm, CWE-89
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-6wcc-39rp-hh9p
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-89
- Published
- 28 Jul 2026
- Last change
- 4 Aug 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- @hypequery/clickhouse npm, Affected before 2.0.2. Fixed in 2.5.1
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes