CVE-2026-18801 Stored Clickhouse SQL Injection Through Customer Usage Attribution
Attackers can inject malicious SQL into ClickHouse queries via stored customer attribution values, potentially reading or modifying billing data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18801?
CVE-2026-18801 is a critical SQL injection vulnerability in openmeter, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OpenMeter contains a stored, or second-order, SQL injection vulnerability in the handling of customer usage-attribution values.
An attacker who can create or update a customer can store a malicious value in the usageAttribution.key or usageAttribution.subjectKeys fields. When that customer is subsequently used in a meter or event query, OpenMeter inserts the stored value into a ClickHouse WITH map(...) expression using string concatenation.
OpenMeter versions from v1.0.0-beta.218 through v1.0.0-beta.231 are affected.
Weakness: CWE-20
Which versions are affected by CVE-2026-18801?
How do I fix CVE-2026-18801?
No fix has been published for CVE-2026-18801 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-18801 being exploited?
There is no known exploitation of CVE-2026-18801 in the wild and no public exploit code.
Sources
Also known as GHSA-m2fw-9wxq-jgf5, GHSA-r49g-35qj-7264.