CVEvulnerability
CVE-2026-31069
8.8 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-05-19
- Last modified
- 2026-07-24
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
Description
BillaBear (all versions prior to Jan 2026) contains a SQL Injection vulnerability in the EventRepository. User-controlled input from metric filter names and aggregation properties is directly interpolated into SQL queries using sprintf() without proper sanitization or identifier quoting. Although filter values are parameterized, the filter identifiers (keys) are not. An authenticated attacker with ROLE_ACCOUNT_MANAGER permissions can exploit this to execute arbitrary SQL commands.
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://gist.github.com/nedlir/2377ba6e7fa2ad957210b52aa8e400d9 gist.github.com
- https://gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e gist.github.com
- https://github.com/BillaBear/billabear github.com
- https://gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e gist.github.com