Skip to main content

OpenMeter CVE-2026-18801

| EUVDEUVD-2026-52725 CRITICAL
Improper Input Validation (CWE-20)
2026-08-04 Kong GHSA-r49g-35qj-7264
9.3
CVSS 4.0 · Vendor: Kong
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to customer API
  2. Delivery
    Store payload in usageAttribution.subjectKeys
  3. Exploit
    Await meter/event query referencing customer
  4. Execution
    Payload concatenated into ClickHouse map()
  5. Persist
    Injected SQL executes on backend
  6. Impact
    Exfiltrate or manipulate usage data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The attacker must have the ability to create or update a customer in OpenMeter and set the usageAttribution.key or usageAttribution.subjectKeys fields to a malicious value - that customer-write capability is the core prerequisite. Exploitation is second-order and therefore not self-triggering: the payload only executes when the affected customer is subsequently referenced in a meter or event query, so the attacker depends on a later legitimate query (by an operator or automated job) to fire the injection. Deployment must run an affected version (v1.0.0-beta.218 through v1.0.0-beta.231) backed by ClickHouse. The principal limiting factor is that customer creation/update typically requires authenticated/tenant-scoped API access despite the vendor's PR:N rating; confirm the exposure of that endpoint to assess whether truly unauthenticated exploitation is possible.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:H/SI:L/SA:H, score 9.3) rates this network-reachable, low-complexity, and requires no privileges - but this conflicts with the description, which states the attacker must be able to 'create or update a customer,' an operation that in most deployments requires an authenticated API caller or tenant-scoped credential. Verify the actual auth model with the vendor: if customer management is exposed unauthenticated or self-service, PR:N holds; if it requires an API key/operator role, real-world risk is meaningfully lower than the raw score implies (this analysis assesses PR:L). No EPSS score, KEV listing, or public POC was provided, so exploitation likelihood signals are absent - this is a high-severity design flaw with no evidence of active exploitation. The high confidentiality and availability impact on ClickHouse (which holds usage/billing data) makes it a genuine priority for any exposed OpenMeter instance in the affected beta range, but the second-order nature and the customer-write prerequisite make opportunistic mass exploitation less likely than a targeted attack by a tenant or an actor with API access.

Exploit ScenarioDerived

A tenant or API-authorized actor calls the customer create/update endpoint and stores a crafted string in usageAttribution.subjectKeys that breaks out of the ClickHouse map(...) expression. Later, when an operator or automated process runs a meter or event query referencing that customer, the stored payload is concatenated into the SQL and executed against ClickHouse, letting the attacker read or manipulate usage/billing data. No public exploit code has been identified, but the low attack complexity makes weaponization straightforward once the injection point is understood.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 04, 2026

Stored (second-order) SQL injection in OpenMeter (v1.0.0-beta.218 through v1.0.0-beta.231) lets an actor who can create or update a customer plant a malicious payload in the usageAttribution.key or usageAttribution.subjectKeys fields, which is later concatenated unsanitized into a ClickHouse WITH map(...) expression when the customer is referenced in a meter or event query. The delayed execution means the injection fires during downstream analytics/metering operations rather than at input time, giving an attacker read/manipulation access to the ClickHouse backend that stores usage and billing telemetry. There is no public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; the vendor-assigned CVSS 4.0 base score is 9.3 (Critical).

RemediationAI

Upgrade to a fixed OpenMeter release above v1.0.0-beta.231 as published in the vendor advisory GHSA-m2fw-9wxq-jgf5 (https://github.com/openmeterio/openmeter/security/advisories/GHSA-m2fw-9wxq-jgf5); no exact patched version number is provided in the available data, so consult that advisory for the precise fixed build rather than assuming one. If immediate patching is not possible, restrict who can create or update customers by tightening authentication and authorization on the customer-management API so untrusted or self-service actors cannot set usageAttribution values, and validate/allowlist those fields to safe character sets (e.g., alphanumeric subject keys) at the ingress layer - the trade-off is that overly strict validation may reject legitimate subject keys that contain special characters. As a defense-in-depth measure, run ClickHouse with a least-privilege account scoped only to the metering database and monitor for anomalous WITH map(...) query patterns; note this limits blast radius but does not close the injection itself.

Affected VersionsENISA

openmeter v1.0.0-beta.218 ≤v1.0.0-beta.231

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenMeter is an open-source usage metering and billing platform that ingests event streams and aggregates them in ClickHouse, a columnar OLAP database. The vulnerable path is customer usage attribution: the usageAttribution.key and usageAttribution.subjectKeys values supplied when creating/updating a customer are persisted and, at query time, embedded into a dynamically built ClickHouse WITH map(...) common-table expression via raw string concatenation rather than parameterized/bound queries. This is a classic second-order injection - the untrusted value is stored safely-looking in one operation and only becomes dangerous when a separate meter or event query interpolates it into SQL. NVD assigns CWE-20 (Improper Input Validation) as the root-cause class, though the concrete manifestation is SQL injection (CWE-89); the CPE cpe:2.3:a:openmeter:openmeter:*:*:*:*:*:*:*:* confirms the application itself is the affected component.

Know when Openmeter gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Kong) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.9 CRITICAL

Network-reachable and low-complexity, but storing the payload requires authenticated customer-write access (PR:L); injection into the separate ClickHouse backend justifies S:C with high confidentiality/availability and limited integrity impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:H/SC:H/SI:L/SA:H

Primary rating from Vendor (Kong).

CVSS VectorVendor: Kong

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenMeter versions 1.0.0-beta.218 through 1.0.0-beta.231 contain a stored SQL injection vulnerability in the billing backend that allows authenticated actors with customer management privileges to inject payloads into the ClickHouse analytics database. Successful exploitation grants attackers read and manipulation access to usage telemetry and billing data, directly compromising revenue accuracy, financial controls, and compliance reporting.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Enforce strict role-based access control restricting customer management to authenticated senior administrators; deploy database activity monitoring (DAM) on ClickHouse to detect and alert on anomalous queries; implement input validation and character restrictions on usageAttribution fields at application layer as defense-in-depth; establish daily automated backups of ClickHouse database with point-in-time recovery; restrict direct ClickHouse access to application service accounts only; conduct monthly billing data audits against external customer records until patch is available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche open-source usage-metering/billing platform, limited enterprise footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy