CVE-2024-22412 in Clickhouse and 1 more product
ClickHouse is an open-source column-oriented database management system. A bug exists in the cloud ClickHouse offering prior to version 24.0.2.54535 and in github.com/clickhouse/clickhouse version 23.1. Query caching bypasses the role based access controls and the policies being enforced on roles. In affected versio...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Clickhouse | Clickhouse | 23.1 ≥ 23.3.0.0, < 23.3.22.3 ≥ 23.8.0.0, < 23.8.12.13 ≥ 23.12.0.0, < 23.12.6.19 ≥ 24.0.0.0, < 24.1.1.2048 |
| Clickhouse | Clickhouse Cloud | < 24.0.2.54535 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
ClickHouse is an open-source column-oriented database management system. A bug exists in the cloud ClickHouse offering prior to version 24.0.2.54535 and in github.com/clickhouse/clickhouse version 23.1. Query caching bypasses the role based access controls and the policies being enforced on roles. In affected versions, the query cache only respects separate users, however this is not documented and not expected behavior. People relying on ClickHouse roles can have their access control lists bypassed if they are using query caching. Attackers who have control of a role could guess queries and see data they shouldn't have access to. Version 24.1 of ClickHouse and version 24.0.2.54535 of ClickHouse Cloud contain a patch for this issue. Based on the documentation, role based access control should be enforced regardless if query caching is enabled or not.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-22412 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-188503-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Published | 2024-03-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A vulnerability in ClickHouse cloud offering prior to version 24.0.2.54535 and in github.com/clickhouse/clickhouse version 23.1 allows query caching to bypass role-based access controls, potentially exposing sensitive data.
An attacker with access to the ClickHouse database could exploit this vulnerability to execute queries that bypass the role-based access controls, leading to unauthorized data access.
Questions
What is CVE-2024-22412?
A vulnerability in ClickHouse cloud offering prior to version 24.0.2.54535 and in github.com/clickhouse/clickhouse version 23.1 allows query caching to bypass role-based access controls, potentially exposing sensitive data.
What is the CVSS score for CVE-2024-22412?
CVE-2024-22412 has CVSS 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.8%.
Is CVE-2024-22412 actively exploited?
No confirmed active exploitation of CVE-2024-22412 as of 2026-09-25.
How do I remediate CVE-2024-22412?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-22412?
CVE-2024-22412 affects Clickhouse Clickhouse, Clickhouse Cloud.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Clickhouse","product":"Clickhouse","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.