---
id: CVE-2026-115330
title: Lotus through 0.10.2 SQL Injection via Custom SQL Billable Metrics
summary: >-
  Lotus through 0.10.2 contains an sql injection vulnerability that allows
  authenticated organization users to execute arbitrary SQL by appending stacked
  statements to custom metric queries. Attackers can submit semicolon-separated
  SQL thr…
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:47.428Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115330'
references:
  - url: 'https://hackmd.io/@leediay/BkUc3WL2Mx'
  - url: >-
      https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/billable_metrics.py#L643-L656
  - url: 'https://github.com/uselotus/lotus'
  - url: >-
      https://www.vulncheck.com/advisories/lotus-through-0.10.2-sql-injection-via-custom-sql-billable-metrics
    label: >-
      VulnCheck Advisory: Lotus through 0.10.2 SQL Injection via Custom SQL
      Billable Metrics
tags:
  - cve.org
ingestedAt: '2026-10-22T11:37:02.334Z'
---

## Overview

Lotus through 0.10.2 contains an sql injection vulnerability that allows authenticated organization users to execute arbitrary SQL by appending stacked statements to custom metric queries. Attackers can submit semicolon-separated SQL through POST /app/metrics/, bypassing first-statement-only validation, to read or modify data across all tenants.

## Affected

- `lotus <= 0.10.2`

## Remediation

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