Skip to main content

ClickHouse Server EUVDEUVD-2026-50412

| CVE-2026-51992 CRITICAL
SQL Injection (CWE-89)
2026-07-29 mitre GHSA-vh7m-4w88-p24f
9.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach ClickHouse SQL interface over network
  2. Delivery
    Submit crafted CREATE DICTIONARY statement
  3. Exploit
    Inject SQL via dictionary source parameters
  4. Execution
    Server executes injected query/connects to attacker source
  5. Impact
    Achieve 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 9.8 CRITICAL

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
CVE Published
Jul 29, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 29, 2026 - 00:00 cve.org
CRITICAL 9.1

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
popular open-source OLAP database, common in analytics stacks but not universal
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy