CVE-2026-115331 Details
Description
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.
A SQL injection vulnerability has been identified in Lotus versions through 0.10.2. This vulnerability allows authenticated organization users to inject SQL by manipulating billable metric property names or categorical filter values. The injected SQL is executed in Jinja-generated metric queries, enabling access to the shared database of all tenants. The issue arises from insufficient validation of user-supplied input, particularly in the 'custom SQL metric' feature, and can be exploited to execute arbitrary SQL commands, including data exfiltration and database manipulation.
Lotus should implement proper input validation to sanitize and parameterize SQL queries, especially in the aggregation query templates. The application should also avoid echoing database error messages to the client, as this can aid in SQL injection exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackmd.io/@leediay/BkUc3WL2Mx | CISA-ADP | BundleExploitRemedyTechnical Analysis |
| https://github.com/uselotus/lotus | [email protected] | ProductVendor |
| https://github.com/uselotus/lotus/blob/0.10.2/backend/metering_billing/aggregation/counter_query_templates.py#L14 | [email protected] | Source CodeVendor |
| https://hackmd.io/@leediay/BkUc3WL2Mx | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://www.vulncheck.com/advisories/lotus-through-0.10.2-sql-injection-via-metric-property-names-and-filters | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Lotus | <= 0.10.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion