Skip to content
OpenAdvisories
High · 8.8 CVE-2026-31069 EUVD-2026-30946GHSA-xp6r-8pcc-xv5p

BillaBear is Vulnerable to SQL Injection in the EventRepository

Published May 19, 2026 · Updated May 20, 2026 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist billabear/billabear <= 2025.01.03 — GHSA-xp6r-8pcc-xv5p

References