CVE Catalog

CVE-2026-31069

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.37%

29th percentile - higher than 29% of all known CVEs

Summary

BillaBear (all versions prior to Jan 2026) has a SQL Injection vulnerability in EventRepository. Metric filter names and aggregation properties are directly interpolated into SQL queries via sprintf() without sanitization. An authenticated attacker with ROLE_ACCOUNT_MANAGER can execute arbitrary SQL commands.

Risk Assessment

An attacker with account manager privileges can read, modify, or delete data in the BillaBear database, compromising the confidentiality and integrity of financial data.

Recommendation

Upgrade BillaBear to a version released after January 2026, which includes the SQL Injection fix.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS