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 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.
CVE-2026-54658
This critical-severity CVE scores 9.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 62% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 59(Track)EG Risk 59/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 38%
- KEV
- Not listed
Published
July 28, 2026
Last Modified
August 4, 2026
Advisory Details (6)
Auto-updated Aug 25, 2026SQL Injection in parameter escaping allows arbitrary SQL execution · Advisory · hypequery/hypequery · GitHub
Affected: version 2.0.2. The fix properly escapes backslashes before escaping single quotes
https://github.com/hypequery/hypequery/security/advisories/GHSA-6wcc-39rp-hh9pfix(clickhouse): parenthesize logical groups in WHERE to preserve AND/OR precedence
Patch available: hypequery/hypequery @hypequery/[email protected] (PR #349 merged 2026-07-23)
https://github.com/hypequery/hypequery/pull/349commit 4dfa9d77d70a (hypequery/hypequery)
Fix landed in hypequery/hypequery commit 4dfa9d77d70a — awaiting tagged release
https://github.com/hypequery/hypequery/commit/4dfa9d77d70a08b970e722268b75ca7d13db0bdfcommit 2dc1df7bae (hypequery/hypequery)
Patch available: hypequery/hypequery @hypequery/[email protected] (contains commit 2dc1df7bae)
https://github.com/hypequery/hypequery/commit/2dc1df7baecommit 2879161a810f (hypequery/hypequery)
Patch available: hypequery/hypequery @hypequery/[email protected] (contains commit 2879161a810f)
https://github.com/hypequery/hypequery/commit/2879161a810fed2c2222f785816ff05510976960hypequery/packages/clickhouse/CHANGELOG.md at main · hypequery/hypequery · GitHub
https://github.com/hypequery/hypequery/blob/main/packages/clickhouse/CHANGELOG.md#202Vendor Advisories for CVE-2026-54658(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| @hypequery/clickhouse | — | 2.5.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 60× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-26 14:49 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 15:51 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 18:15 UTCEG score recompute
- 2026-08-24 09:37 UTCEG score recompute
- 2026-08-23 03:18 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 01:10 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 23:05 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 20:57 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 18:37 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 16:34 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 18:51 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 05:51 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 03:58 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 02:01 UTCEG score recompute
Show 35 moreShow fewer
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 15:29 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 17:50 UTCEG score recompute
- 2026-08-11 00:35 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 13:48 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 20:32 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:38 UTCEG score recompute
- 2026-08-06 16:43 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 23:26 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 21:32 UTCEG score recompute
- 2026-08-04 20:45 UTCEG score recompute
- 2026-08-04 17:08 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 12:48 UTCEG score recompute
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-02 04:34 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 06:59 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 20:13 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 11:45 UTCEG score recompute
- 2026-07-30 02:35 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 13:38 UTCEG score recompute
- 2026-07-29 12:38 UTCEG score recompute
- 2026-07-28 23:22 UTCEG score recompute
- 2026-07-28 22:46 UTCEG score recompute
- 2026-07-28 22:42 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-54658?
When was CVE-2026-54658 disclosed?
Is CVE-2026-54658 actively exploited?
What is the CVSS score of CVE-2026-54658?
How do I remediate CVE-2026-54658?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54658
Is Your Infrastructure Affected by CVE-2026-54658?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.