CVE-2026-31069
8.8 HIGHBillaBear (all versions prior to Jan 2026) contains a SQL Injection vulnerability in the EventRepository
Published: 2026-05-19 · Last updated: 2026-05-20
Severity and scoring
- CVSS
- 8.8 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-89
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-31069
- [Other]https://gist.github.com/nedlir/2377ba6e7fa2ad957210b52aa8e400d9
- [Other]https://gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e
- [Other]https://github.com/BillaBear/billabear
- [Other]https://gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e
Related CVEs
Same CWE
- CVE-2026-52715 — Unauthenticated SQL Injection in GEO my WordPress <= 4.5.5 versions (9.3 CRITICAL)
- CVE-2026-52712 — Subscriber SQL Injection in Attendance Manager <= 0.6.2 versions (7.6 HIGH)
- CVE-2026-49772 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Liquid Web / StellarWP The Events C... (9.3 CRITICAL)
- CVE-2026-39581 — Subscriber SQL Injection in WP Sessions Time Monitoring Full Automatic <= 1.1.4 versions (8.5 HIGH)
- CVE-2026-39574 — Unauthenticated SQL Injection in InPost Gallery <= 2.1.4.6 versions (9.3 CRITICAL)