Home / ClickHouse / ClickHouse / CVE-2024-22412
CVE-2024-22412: is it exploited, and which versions of ClickHouse are affected and fixed?
CVE-2024-22412 is an incorrect authorization vulnerability in ClickHouse. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: ClickHouse = 23.1 and ClickHouse < 24.0.2.54535 (CVE record by GitHub_M). Fixed in 23.3.22.3, 23.8.12.13, 23.12.6.19, 24.1.1.2048 and 1 more (NVD). Severity: Low (2.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-22412?
ClickHouse's Role-based Access Control is bypassed when query caching is enabled.
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.
From the CVE record by GitHub_M, last updated August 1, 2024, 22:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ClickHouse | ClickHouse | = 23.1 < 24.0.2.54535 |
As the CVE record by GitHub_M states it, last updated August 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| clickhouse | clickhouse | from 23.3.0.0 before 23.3.22.3 | application |
| clickhouse | clickhouse | from 23.8.0.0 before 23.8.12.13 | application |
| clickhouse | clickhouse | from 23.12.0.0 before 23.12.6.19 | application |
| clickhouse | clickhouse | from 24.0.0.0 before 24.1.1.2048 | application |
| clickhouse | clickhouse cloud | before 24.0.2.54535 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:11 UTC.
How severe is CVE-2024-22412?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.4 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| Medium 4.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-22412 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 16, 2024)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
- https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-45h5-f7g3-gr8r x_refsource_CONFIRM
- https://github.com/ClickHouse/ClickHouse/pull/58611 x_refsource_MISC
- https://github.com/ClickHouse/ClickHouse/blob/bd17ee769e337906c4b1f404861e042ad72fcbfc/src/Interpreters/executeQuery.cpp#L1013-L1015 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 10, 2024
- Published
- March 18, 2024, 20:51 UTC
- CVE record updated
- August 1, 2024, 22:43 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:11 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ClickHouse?
- Oct 30, 2026CVE-2026-116366 ClickHouse: integer overflow
- Sep 3, 2024CVE-2024-41436 Clickhouse: buffer overflow
- Aug 1, 2024CVE-2024-6873 ClickHouse: heap buffer overflow
- Dec 22, 2023CVE-2023-48704 ClickHouse: heap buffer overflow
- Dec 21, 2023CVE-2023-48298 ClickHouse: integer underflow
- Dec 20, 2023CVE-2023-47118 ClickHouse: heap buffer overflow
- Nov 23, 2023CVE-2022-44011 Clickhouse: out-of-bounds write (memory corruption)
- Nov 23, 2023CVE-2022-44010 Clickhouse: out-of-bounds write (memory corruption)
Questions about CVE-2024-22412
Is CVE-2024-22412 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ClickHouse are affected by CVE-2024-22412?
ClickHouse = 23.1 and ClickHouse < 24.0.2.54535, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-22412?
23.3.22.3, 23.8.12.13, 23.12.6.19, 24.1.1.2048 and 24.0.2.54535, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-22412?
Low (2.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-22412?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.