CVE-2026-31069

Published May 19, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xp6r-8pcc-xv5p BillaBear is Vulnerable to SQL Injection in the EventRepository
History
Type Values Removed Values Added
Title Unsanitized Metric Filters Enable SQL Injection in BillaBear EventRepository
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Billabear
Billabear billabear
Vendors & Products Billabear
Billabear billabear
Type Values Removed Values Added
Title Unsanitized Metric Filters Enable SQL Injection in BillaBear EventRepository
Weaknesses CWE-89
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 20, 2026, 1:50 PM
Reserved
Mar 9, 2026, 12:00 AM
Status
Deferred
Published
May 19, 2026, 4:16 PM
Modified
Jul 24, 2026, 12:10 PM