{"id":"CVE-2026-18801","state":"PUBLISHED","title":"Stored Clickhouse SQL Injection Through Customer Usage Attribution","description":"OpenMeter contains a stored, or second-order, SQL injection vulnerability in the handling of customer usage-attribution values.\n\n\n\nAn 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.\n\nOpenMeter versions from v1.0.0-beta.218 through v1.0.0-beta.231 are affected.","publishedAt":"2026-08-04T14:53:01.659Z","updatedAt":"2026-08-04T17:45:57.502Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:H/SI:L/SA:H","source":"Kong"},"assigner":"Kong","products":["openmeter openmeter"],"affected":[{"vendor":"openmeter","product":"openmeter","defaultStatus":"unaffected","versions":[{"version":"v1.0.0-beta.218","status":"affected","lessThanOrEqual":"v1.0.0-beta.231","versionType":"git"}],"platforms":["Linux"],"repo":"https://github.com/openmeterio/openmeter/"}],"references":["https://github.com/openmeterio/openmeter/security/advisories/GHSA-m2fw-9wxq-jgf5"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/18xxx/CVE-2026-18801.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-18801","state":"PUBLISHED","datePublished":"2026-08-04T14:53:01.659Z","dateUpdated":"2026-08-04T17:45:57.502Z","assignerShortName":"Kong","assignerOrgId":"02762ae7-200e-4b20-9b2b-a77d5b8fc4cb","dateReserved":"2026-08-04T11:15:31.572Z"},"containers":{"cna":{"title":"Stored Clickhouse SQL Injection Through Customer Usage Attribution","descriptions":[{"lang":"en","value":"OpenMeter contains a stored, or second-order, SQL injection vulnerability in the handling of customer usage-attribution values.\n\n\n\nAn 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.\n\nOpenMeter versions from v1.0.0-beta.218 through v1.0.0-beta.231 are affected."}],"affected":[{"vendor":"openmeter","product":"openmeter","defaultStatus":"unaffected","versions":[{"version":"v1.0.0-beta.218","status":"affected","lessThanOrEqual":"v1.0.0-beta.231","versionType":"git"}],"platforms":["Linux"],"repo":"https://github.com/openmeterio/openmeter/"}],"references":[{"url":"https://github.com/openmeterio/openmeter/security/advisories/GHSA-m2fw-9wxq-jgf5"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"HIGH","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:H/SI:L/SA:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20 Improper input validation","type":"CWE"}]}],"providerMetadata":{"shortName":"Kong","orgId":"02762ae7-200e-4b20-9b2b-a77d5b8fc4cb","dateUpdated":"2026-08-04T14:53:01.659Z"},"impacts":[{"capecId":"CAPEC-66","descriptions":[{"lang":"en","value":"CAPEC-66 SQL Injection"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-04T17:45:41.382410Z","id":"CVE-2026-18801","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-04T17:45:57.502Z"}}]}}}