---
id: CVE-2026-115331
title: Lotus through 0.10.2 SQL Injection via Metric Property Names and Filters
summary: >-
  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 re…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-89
vendor: uselotus
product: lotus
affected:
  - lotus <= 0.10.2
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T10:57:48.115Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115331'
references:
  - url: 'https://hackmd.io/@leediay/BkUc3WL2Mx'
  - url: >-
      https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/counter_query_templates.py#L14
  - url: 'https://github.com/uselotus/lotus'
  - url: >-
      https://www.vulncheck.com/advisories/lotus-through-0.10.2-sql-injection-via-metric-property-names-and-filters
    label: >-
      VulnCheck Advisory: Lotus through 0.10.2 SQL Injection via Metric Property
      Names and Filters
tags:
  - cve.org
ingestedAt: '2026-10-22T11:37:02.333Z'
---

## Overview

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.

## Affected

- `lotus <= 0.10.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
