Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hypequery/clickhouse
  4. ›
  5. CVE-2026-54658

CVE-2026-54658: @hypequery/clickhouse has SQL Injection in parameter escaping that allows arbitrary SQL execution

July 28, 2026

A SQL injection vulnerability exists in the escapeValue() function used for parameter substitution. Attackers who can control parameter values can inject arbitrary SQL by using a trailing backslash to escape the closing quote.

Who is impacted: All users of @hypequery/clickhouse versions prior to 2.0.2 who pass user-controlled input as query parameters.

References

  • github.com/advisories/GHSA-6wcc-39rp-hh9p
  • github.com/hypequery/hypequery/blob/main/packages/clickhouse/CHANGELOG.md
  • github.com/hypequery/hypequery/commit/4dfa9d77d70a08b970e722268b75ca7d13db0bdf
  • github.com/hypequery/hypequery/releases/tag/@hypequery/clickhouse@2.0.2
  • github.com/hypequery/hypequery/security/advisories/GHSA-6wcc-39rp-hh9p
  • nvd.nist.gov/vuln/detail/CVE-2026-54658

Code Behaviors & Features

Detect and mitigate CVE-2026-54658 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.2

Fixed versions

  • 2.0.2

Solution

Upgrade to version 2.0.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/@hypequery/clickhouse/CVE-2026-54658.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 30 Jul 2026 00:18:33 +0000.