{"id":"CVE-2026-115331","summary":"Lotus through 0.10.2 SQL Injection via Metric Property Names and Filters","details":"Lotus through 0.10.2 contains an sql injection vulnerability that allows authenticated organization users to inject SQL by supplying crafted billable metric property_name or categorical filter values. Attackers can embed SQL in values rendered unescaped into Jinja-generated counter, gauge and rate metric queries to access the database shared by all tenants.","modified":"2026-10-23T02:45:53.223462861Z","published":"2026-10-22T10:57:48.115Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115331.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115331.json"},{"type":"PACKAGE","url":"https://github.com/uselotus/lotus"},{"type":"ARTICLE","url":"https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/counter_query_templates.py#L14"},{"type":"ARTICLE","url":"https://hackmd.io/@leediay/BkUc3WL2Mx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115331"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/lotus-through-0.10.2-sql-injection-via-metric-property-names-and-filters"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/uselotus/lotus","events":[{"introduced":"0"},{"last_affected":"f908380b324045f6b160cd3245c5b632e479a63b"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.10.2"}]}]}}],"versions":["0.10.2","0.10.1","0.10.0","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115331.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}