Hypequery is a TypeScript semantic layer for ClickHouse. Prior to 2.5.1, escapeValue() in…
Historical advisory recorded 25 Oct 2026 13:17:28 UTC. Read the latest advisory.
nvd · CVE-2026-54658
PublishedHypequery 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 version 2.5.1 fixes all known vectors. Upgrading to 2.5.1 or later is the only complete fix. In versions 2.0.2 through 2.5.0, serializing non-scalar parameters with JSON.stringify() before passing them is a workaround for the object/array vector only.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-54658
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-89
Original publisher date fields
published: 2026-07-28T23:17:08.913
lastModified: 2026-08-04T21:16:36.853
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON