CVE-2026-54658: @hypequery/clickhouse has SQL Injection
Affects @hypequery/clickhouseSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 2.5.1 as a priority.
Data as of 27 Oct 2026, 05:11 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade @hypequery/clickhouse to 2.5.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@hypequery/clickhouse | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to @hypequery/clickhouse version 2.0.2 or later, where the vulnerability is fixed by properly escaping backslashes before single quotes in the escapeValue() function. No other workarounds or manual input sanitization are recommended or effective.
Description
@hypequery/clickhouse versions prior to 2.0.2 contain a SQL injection vulnerability in the escapeValue() function used for parameter substitution. This flaw allows attackers controlling parameter values to inject arbitrary SQL by exploiting improper escaping of trailing backslashes before closing quotes. The issue is fixed in version 2.0.2, which correctly escapes backslashes before single quotes. No workaround other than upgrading is recommended.
References
- github.com/hypequery/hypequery/security/advisories/GHSA-6wcc-39rp-hh9p (opens in a new tab)
- github.com/hypequery/hypequery/commit/4dfa9d77d70a08b970e722268b75ca7d13db0bdf (opens in a new tab)
- github.com/hypequery/hypequery (opens in a new tab)
- github.com/hypequery/hypequery/blob/main/packages/clickhouse/CHANGELOG.md (opens in a new tab)
- github.com/hypequery/hypequery/releases/tag/@hypequery/clickhouse@2.0.2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-54658 (opens in a new tab)
- github.com/hypequery/hypequery/pull/349 (opens in a new tab)
- github.com/hypequery/hypequery/commit/2879161a810fed2c2222f785816ff05510976960 (opens in a new tab)
- github.com/hypequery/hypequery/commit/2dc1df7bae (opens in a new tab)
- github.com/hypequery/hypequery/releases/tag/@hypequery/clickhouse@2.5.1 (opens in a new tab)