CVE-2026-54658

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

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).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
9.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 9.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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 computed
Severity98% × 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, 2026
Patch available. Sources: github_commit, github_pr, github.
github Patch Available

SQL 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-hh9p
github_pr Patch Available

fix(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/349
github_commit

commit 4dfa9d77d70a (hypequery/hypequery)

Fix landed in hypequery/hypequery commit 4dfa9d77d70a — awaiting tagged release

https://github.com/hypequery/hypequery/commit/4dfa9d77d70a08b970e722268b75ca7d13db0bdf
github_commit Patch Available

commit 2dc1df7bae (hypequery/hypequery)

Patch available: hypequery/hypequery @hypequery/[email protected] (contains commit 2dc1df7bae)

https://github.com/hypequery/hypequery/commit/2dc1df7bae
github_commit Patch Available

commit 2879161a810f (hypequery/hypequery)

Patch available: hypequery/hypequery @hypequery/[email protected] (contains commit 2879161a810f)

https://github.com/hypequery/hypequery/commit/2879161a810fed2c2222f785816ff05510976960
generic

hypequery/packages/clickhouse/CHANGELOG.md at main · hypequery/hypequery · GitHub

https://github.com/hypequery/hypequery/blob/main/packages/clickhouse/CHANGELOG.md#202

Vendor 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)
PackageVulnerable rangeFixed inDependents
@hypequery/clickhouse2.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.

  1. 2026-08-26 14:49 UTCEG score recompute
  2. 2026-08-26 14:46 UTCEPSS rescore
  3. 2026-08-25 15:51 UTCEG score recompute
  4. 2026-08-25 13:49 UTCEPSS rescore
  5. 2026-08-24 18:15 UTCEG score recompute
  6. 2026-08-24 09:37 UTCEG score recompute
  7. 2026-08-23 03:18 UTCEG score recompute
  8. 2026-08-23 00:19 UTCEPSS rescore
  9. 2026-08-22 01:10 UTCEG score recompute
  10. 2026-08-21 23:49 UTCEPSS rescore
  11. 2026-08-20 23:05 UTCEG score recompute
  12. 2026-08-20 22:55 UTCEPSS rescore
  13. 2026-08-19 20:57 UTCEG score recompute
  14. 2026-08-19 17:04 UTCEPSS rescore
  15. 2026-08-18 18:37 UTCEG score recompute
  16. 2026-08-18 13:48 UTCEPSS rescore
  17. 2026-08-17 16:34 UTCEG score recompute
  18. 2026-08-17 13:47 UTCEPSS rescore
  19. 2026-08-16 18:51 UTCEG score recompute
  20. 2026-08-16 14:56 UTCEPSS rescore
  21. 2026-08-16 05:51 UTCEG score recompute
  22. 2026-08-16 02:14 UTCEPSS rescore
  23. 2026-08-15 03:58 UTCEG score recompute
  24. 2026-08-15 01:30 UTCEPSS rescore
  25. 2026-08-14 02:01 UTCEG score recompute
Show 35 more
  1. 2026-08-13 22:00 UTCEPSS rescore
  2. 2026-08-12 15:29 UTCEG score recompute
  3. 2026-08-12 13:51 UTCEPSS rescore
  4. 2026-08-11 17:50 UTCEG score recompute
  5. 2026-08-11 00:35 UTCEG score recompute
  6. 2026-08-11 00:00 UTCEPSS rescore
  7. 2026-08-09 13:48 UTCEG score recompute
  8. 2026-08-09 13:46 UTCEPSS rescore
  9. 2026-08-08 20:32 UTCEG score recompute
  10. 2026-08-08 16:37 UTCEPSS rescore
  11. 2026-08-07 18:38 UTCEG score recompute
  12. 2026-08-06 16:43 UTCEG score recompute
  13. 2026-08-06 13:47 UTCEPSS rescore
  14. 2026-08-05 23:26 UTCEG score recompute
  15. 2026-08-05 19:17 UTCEPSS rescore
  16. 2026-08-04 21:32 UTCEG score recompute
  17. 2026-08-04 20:45 UTCEG score recompute
  18. 2026-08-04 17:08 UTCEG score recompute
  19. 2026-08-04 15:10 UTCEPSS rescore
  20. 2026-08-04 12:48 UTCEG score recompute
  21. 2026-08-04 10:39 UTCEPSS rescore
  22. 2026-08-02 04:34 UTCEG score recompute
  23. 2026-08-02 02:27 UTCEPSS rescore
  24. 2026-08-01 06:59 UTCEG score recompute
  25. 2026-08-01 04:16 UTCEPSS rescore
  26. 2026-07-30 20:13 UTCEG score recompute
  27. 2026-07-30 16:28 UTCEPSS rescore
  28. 2026-07-30 11:45 UTCEG score recompute
  29. 2026-07-30 02:35 UTCEG score recompute
  30. 2026-07-30 01:30 UTCEPSS rescore
  31. 2026-07-29 13:38 UTCEG score recompute
  32. 2026-07-29 12:38 UTCEG score recompute
  33. 2026-07-28 23:22 UTCEG score recompute
  34. 2026-07-28 22:46 UTCEG score recompute
  35. 2026-07-28 22:42 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-54658?
CVE-2026-54658 is a critical vulnerability published on July 28, 2026. 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…
When was CVE-2026-54658 disclosed?
CVE-2026-54658 was first published in the National Vulnerability Database on July 28, 2026, with the most recent update on August 4, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-54658 actively exploited?
CVE-2026-54658 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 61.6% of all scored CVEs.
What is the CVSS score of CVE-2026-54658?
CVE-2026-54658 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2026-54658?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-54658, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54658

Explore →

Is Your Infrastructure Affected by CVE-2026-54658?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.