CVE-2026-31069
HIGH 8.8CVSS 3.1BillaBear is Vulnerable to SQL Injection in the EventRepository
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.
- Published
- 19 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-xp6r-8pcc-xv5p
- Sources
- NVDJSONOSV GHSA-xp6r-8pcc-xv5pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | billabear/billabear | <= 2025.01.03 |
References
- https://gist.github.com/nedlir/2377ba6e7fa2ad957210b52aa8e400d9 · WEB
- https://gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e · WEB
- https://github.com/BillaBear/billabear · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-31069 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 19 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 May 2026)