# CVE-2026-115330: Lotus through 0.10.2 SQL Injection via Custom SQL Billable Metrics

Status: published. Published: 2026-10-22. Updated: 2026-11-04.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- uselotus / lotus (uselotus/lotus): ≥ 0; ≤ 0.10.2 (affected, semver). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 8.7 (high); 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; source: CNA: VulnCheck

- CVSS 3.1: 8.8 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: 0.30% as of 2026-11-04; percentile 22.62%

- SSVC: exploitation poc; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-89

## Exploit evidence

- exploit: https://hackmd.io/@leediay/BkUc3WL2Mx (ADP: CISA-ADP)

## References

- https://hackmd.io/@leediay/BkUc3WL2Mx (CNA: VulnCheck; technical-description)

- https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/billable_metrics.py#L643-L656 (CNA: VulnCheck; technical-description)

- https://github.com/uselotus/lotus (CNA: VulnCheck; product)

- https://www.vulncheck.com/advisories/lotus-through-0.10.2-sql-injection-via-custom-sql-billable-metrics (CNA: VulnCheck; third-party-advisory)

- https://hackmd.io/@leediay/BkUc3WL2Mx (ADP: CISA-ADP; exploit)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-115330; retrieved 2026-11-04; source updated 2026-11-04

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-115330; retrieved 2026-11-04; source updated Not reported

Revision: 68050d82f7b2a40adb62d18355b44e5bf429203f224a7bd111f61645a0dedd00

Canonical: https://y2.dev/cve/CVE-2026-115330

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.