NPM · JULY 2026 · EARLY WARNING

@hypequery/clickhouse npm Package SQL Injection Vulnerability Warning

EARLY WARNING · UNCONFIRMED. This page describes a developing threat that 0Day surfaced from early signals and has not yet independently confirmed. Details may change. Always verify against the primary sources before acting.
GHSA-6WCC-39RP-HH9PSeverity: HIGH

An SQL injection vulnerability has been reportedly discovered in the @hypequery/clickhouse npm package, specifically in the `escapeValue()` function, allowing arbitrary SQL execution. Versions prior to 2.0.2 appear to be affected.

What happened

An early warning has been issued regarding a critical vulnerability in the @hypequery/clickhouse npm package. The vulnerability, tracked as GHSA-6WCC-39RP-HH9P, involves a SQL injection flaw in the `escapeValue()` function, which could allow an attacker to execute arbitrary SQL commands. This issue is said to affect versions of the package prior to 2.0.2.

The vulnerability is under investigation, and while the details are still emerging, it is recommended that users of the @hypequery/clickhouse package upgrade to version 2.0.2 or later to mitigate potential risks. The patch for this vulnerability has been included in version 2.0.2.

Professional software engineers using this package in their projects should assess their exposure by checking their dependency versions. If any version prior to 2.0.2 is in use, an upgrade is advised. For more detailed information, consulting the primary sources, such as the GitHub Advisory Database, is recommended.

How 0Day mitigates this

MATCHED TO YOUR ACTUAL DEPENDENCY GRAPH0Day matches every incoming threat signal against your GitHub organization’s full dependency graph, including transitive dependencies. If @hypequery/clickhouse is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.

Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.

Join the 0Day waitlist →

← Back to all threats