{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-18801",
        "assignerOrgId": "02762ae7-200e-4b20-9b2b-a77d5b8fc4cb",
        "state": "PUBLISHED",
        "assignerShortName": "Kong",
        "dateReserved": "2026-08-04T11:15:31.572Z",
        "datePublished": "2026-08-04T14:53:01.659Z",
        "dateUpdated": "2026-08-04T17:45:57.502Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "02762ae7-200e-4b20-9b2b-a77d5b8fc4cb",
                "shortName": "Kong",
                "dateUpdated": "2026-08-04T14:53:01.659Z"
            },
            "title": "Stored Clickhouse SQL Injection Through Customer Usage Attribution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-20",
                            "description": "CWE-20 Improper input validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-66",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-66 SQL Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "openmeter",
                    "product": "openmeter",
                    "platforms": [
                        "Linux"
                    ],
                    "repo": "https://github.com/openmeterio/openmeter/",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "v1.0.0-beta.218",
                            "lessThanOrEqual": "v1.0.0-beta.231",
                            "versionType": "git"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p><span>OpenMeter contains a stored, or second-order, SQL injection vulnerability in the handling of customer usage-attribution values.</span></p><p><span>An attacker who can create or update a customer can store a malicious value in the </span><code><span>usageAttribution.key</span></code><span> or </span><code><span>usageAttribution.subjectKeys</span></code><span> fields. When that customer is subsequently used in a meter or event query, OpenMeter inserts the stored value into a ClickHouse </span><code><span>WITH map(...)</span></code><span> expression using string concatenation.<br><br><span>OpenMeter versions from </span><code><span>v1.0.0-beta.218</span></code><span> through </span><code><span>v1.0.0-beta.231</span></code><span> are affected.</span><br><br><br></span></p>"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "x_generator": {
                "engine": "Vulnogram 1.0.4"
            }
        },
        "adp": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-04T17:45:57.502Z"
                }
            }
        ]
    }
}