CVE-2026-18801

Stored Clickhouse SQL Injection Through Customer Usage Attribution

State
Published
Severity
9.3 Critical
Published
Aug 4, 2026
Updated
Aug 4, 2026
Reserved
Aug 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:H/SI:L/SA:HKong

Weaknesses

  • CWE-20 Improper input validation

Affected Products

ProductVersions
openmeteropenmeter
  • v1.0.0-beta.218 through v1.0.0-beta.231Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.