Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. billabear/billabear
  4. ›
  5. CVE-2026-31069

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

May 19, 2026 (updated June 4, 2026)

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

  • gist.github.com/nedlir/2377ba6e7fa2ad957210b52aa8e400d9
  • gist.github.com/nedlir/a50725b94650467f0593b8f4009ae19e
  • github.com/advisories/GHSA-xp6r-8pcc-xv5p
  • nvd.nist.gov/vuln/detail/CVE-2026-31069

Code Behaviors & Features

Detect and mitigate CVE-2026-31069 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2025.1.3

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/billabear/billabear/CVE-2026-31069.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 16 Jul 2026 12:19:21 +0000.