CVE-2026-31069
BillaBear (all versions prior to Jan 2026) contains a SQL Injection vulnerability in the EventRepository.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | billabear/billabear | <= 2025.01.03 | nicht erfasst |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-xp6r-8pcc-xv5p
- https://nvd.nist.gov/vuln/detail/CVE-2026-31069
- https://gist.github.com/nedlir/2377ba6e7fa2ad957210b52aa8e400d9
- https://gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e
- https://github.com/BillaBear/billabear