CVE-2026-54658 is a SQL injection vulnerability in Hypequery's ClickHouse package affecting versions prior to 2.0.2. The flaw is in the escapeValue() function in packages/clickhouse/src/core/utils.ts during parameter substitution for string values. The implementation escaped single quotes by doubling them but did not escape literal backslashes first. Because ClickHouse interprets backslash-quote sequences as escaped quotes, an attacker-controlled parameter ending with a backslash can cause the intended closing quote to be treated as part of the string literal rather than as a delimiter. This leaves the string context open and allows subsequent attacker-controlled content to be parsed as SQL. The issue stems from an escaping mismatch between SQL-92 assumptions and ClickHouse string parsing behavior. Version 2.0.2 fixes the vulnerability by escaping backslashes before escaping single quotes.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A SQL injection vulnerability in Hypequery's ClickHouse package caused by improper escaping of backslashes before single quotes in escapeValue(), allowing attacker-controlled parameters to inject arbitrary SQL queries.
A SQL injection vulnerability in @hypequery/clickhouse caused by improper escaping of backslashes in string values, allowing crafted input to break query structure and inject active SQL against ClickHouse.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.