Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach ClickHouse SQL interface over network
-
DeliverySubmit crafted CREATE DICTIONARY statement
-
ExploitInject SQL via dictionary source parameters
-
ExecutionServer executes injected query/connects to attacker source
-
ImpactAchieve data access or code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to issue a CREATE DICTIONARY statement to the ClickHouse SQL interface (native port 9000 or HTTP 8123) and specifically targets the dictionary-source definition path. The supplied CVSS marks PR:N (no privileges), but ClickHouse's CREATE DICTIONARY is a DDL operation that normally requires an authenticated user holding dictionary/DDL privileges - this is a likely limiting factor that contradicts PR:N and should be confirmed with the vendor. What limits exploitation: reachability of the ClickHouse query ports, whether the attacker can authenticate and hold DDL privileges, and whether external dictionary sources are enabled; the flaw affects only versions 26.3.9.8 and earlier. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, base 9.1) rates this network-exploitable with no privileges and no user interaction, which is critical on paper. However, several signals conflict or are missing: no EPSS probability and no KEV status were provided, so real-world exploitation cannot be confirmed as widespread. A GitHub repository named for the CVE indicates public exploit code exists, raising practical risk, but POC availability is distinct from active exploitation. Importantly, the CREATE DICTIONARY operation in ClickHouse normally requires an authenticated session with dictionary/DDL privileges, which contradicts the PR:N (unauthenticated) metric in the vector - verify with the vendor, because if authentication is required the real-world risk is meaningfully lower than the 9.1 implies. The vector also marks A:N (no availability impact), which is inconsistent with a genuine RCE claim, further suggesting the scoring should be validated. |
| Exploit ScenarioDerived | An attacker with network access to a ClickHouse Server instance submits a crafted CREATE DICTIONARY statement whose source parameters or query template embed malicious SQL, causing the server to execute injected queries or connect to an attacker-influenced external source. Public exploit code referenced in the GitHub repository CVE-2026-51992 lowers the skill barrier, and the low attack complexity (AC:L) means a single crafted request may suffice once the attacker can reach the SQL interface. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
SQL injection in ClickHouse Server versions 26.3.9.8 and earlier lets remote attackers inject arbitrary SQL through the CREATE DICTIONARY functionality, which the advisory claims can escalate to arbitrary code execution. Publicly available exploit code exists (GitHub repository CVE-2026-51992), but there is no CISA KEV listing and no EPSS score in the provided data, so no confirmed active exploitation. The provided CVSS is 9.1, though the description's reference to the CREATE DICTIONARY operation suggests an authenticated privilege may actually be required, which conflicts with the PR:N in the supplied vector.
RemediationAI
No vendor-released patch version was identified in the provided data, and no vendor security advisory URL was supplied - only the NVD record (https://nvd.nist.gov/vuln/detail/CVE-2026-51992) and ClickHouse documentation. Because the flaw affects versions up to 26.3.9.8, upgrade to the latest ClickHouse Server release once a fixed version is confirmed by ClickHouse; do not rely on an invented version number. In the interim, restrict who can invoke CREATE DICTIONARY by tightening ClickHouse RBAC so only trusted administrators hold DICTIONARY/DDL privileges (trade-off: breaks self-service dictionary workflows), disable or lock down external dictionary sources such as PostgreSQL/MySQL/ODBC/HTTP if not required (trade-off: loses external-source enrichment), and place the ClickHouse native (9000) and HTTP (8123) ports behind network segmentation so they are not internet-reachable (trade-off: none for properly internal deployments). Monitor query logs for anomalous CREATE DICTIONARY statements and outbound connections from the server to attacker-controlled hosts.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ClickHouse is a high-performance open-source columnar OLAP database used for real-time analytics over large datasets. It supports external dictionaries (via CREATE DICTIONARY) that pull data from backends such as PostgreSQL, MySQL, ODBC, and HTTP sources; the referenced documentation is the PostgreSQL dictionary source. The root cause is CWE-89 (SQL Injection): attacker-influenced input is concatenated into a SQL query - plausibly the query template or connection parameters passed to an external dictionary source - without proper parameterization, allowing query manipulation. The claim of arbitrary code execution likely stems from ClickHouse's ability to reach external data sources or execute functions via a crafted dictionary definition rather than classic in-database RCE, though the exact mechanism is not detailed in the input.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CREATE DICTIONARY is a privileged DDL operation, so PR:L rather than PR:N; network-reachable with low complexity, and claimed code execution justifies C/I/A high.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
SQL Injection vulnerability in ClickHouse Server Versions <= 26.3.9.8 allows a remote attacker to execute arbitrary code via the create dictionaries function.
Executive ViewAI
ClickHouse Server versions 26.3.9.8 and earlier contain a critical SQL injection vulnerability (CVE-2026-51992, CVSS 9.1) with publicly available exploit code enabling remote code execution. Organizations running affected ClickHouse instances face risk of complete database compromise and unauthorized system access. No vendor patch is currently available, requiring immediate interim controls and close monitoring for patch availability.
Restrict network access to ClickHouse instances through firewalls and network segmentation, limiting connections to authorized internal networks only; disable or remove CREATE DICTIONARY functionality through configuration if operationally unnecessary; deploy database activity monitoring to detect and alert on SQL injection attempts; enforce strong authentication credentials and implement multi-factor authentication where supported; maintain offline backups to enable rapid recovery if exploitation occurs; run ClickHouse in isolated containers or environments with minimal system privileges to limit blast radius of code execution.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-50412
GHSA-vh7m-4w88-p24f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB