NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-31069: BillaBear is Vulnerable to SQL Injection in the EventRepository

highCVSS 3.1 8.8GHSA-xp6r-8pcc-xv5p

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.

Published May 19, 2026 · Updated Jun 4, 2026

Affected packages

billabear/billabear

Ecosystem
Composer (PHP)
Affected
<= 2025.01.03
Fixed in
No patched version yet
Check
composer show billabear/billabear

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology