CVE-2026-116218

Dolibarr ERP CRM 19.0.0 before 23.0.4 SQL Injection via bankaccounts API type field

Published Oct 26, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
Dolibarr ERP CRM 19.0.0 before 23.0.4 contains an SQL injection vulnerability that allows authenticated API users to inject SQL via the type field of the third-party bankaccounts REST endpoint. Attackers with only societe/creer permission can break out of the unescaped type value in CompanyBankAccount::create() to read password hashes and API keys via time-based blind subqueries.

Analysis

AI-generated

Technical impact

An authenticated API user can inject unsanitized SQL through the 'type' field of the third‑party bank accounts endpoint. The injection occurs in CompanyBankAccount::create() and allows an attacker to perform time‑based blind subqueries that expose password hashes and API keys. This flaw provides attackers with the ability to obtain sensitive authentication credentials from the database, compromising confidentiality of user accounts.

Affected Systems

Dolibarr ERP CRM versions 19.0.0 up to, but not including, 23.0.4 are affected. Users running any of these releases should review the critical update that addresses the SQL injection. The vulnerability appears in the bank accounts REST API and requires the user to have societe/creer permissions, which most API consumers granted for external integrations.

Risk and Exploitability

The CVSS score of 7.2 indicates a high exploitation severity. The EPSS score is not available, so the current probability of exploitation cannot be quantified, and the vulnerability is not in the CISA KEV list. Attackers must first authenticate with a Dolibarr API user that has the societe/creer role and then supply a crafted 'type' value to trigger the injection. Once the injection succeeds, an attacker can read stored password hashes and API keys, potentially enabling account takeover or broader system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official Dolibarr 23.0.4 patch or later to fix the injection flaw.
  • Restrict or remove societe/creer API permissions from users that do not require access to the bank accounts endpoint.
  • Implement input sanitization or type validation for the 'type' parameter until the upstream fix is applied.

Generated by OpenCVE AI on October 26, 2026 at 15:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dolibarr dolibarr
Dolibarr dolibarr Erp/crm
Vendors & Products Dolibarr dolibarr
Dolibarr dolibarr Erp/crm
Type Values Removed Values Added
Description Dolibarr ERP CRM 19.0.0 before 23.0.4 contains an SQL injection vulnerability that allows authenticated API users to inject SQL via the type field of the third-party bankaccounts REST endpoint. Attackers with only societe/creer permission can break out of the unescaped type value in CompanyBankAccount::create() to read password hashes and API keys via time-based blind subqueries.
Title Dolibarr ERP CRM 19.0.0 before 23.0.4 SQL Injection via bankaccounts API type field
First Time appeared Dolibarr
Dolibarr dolibarr Erp\/crm
Weaknesses CWE-89
CPEs cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:*
Vendors & Products Dolibarr
Dolibarr dolibarr Erp\/crm
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 14, 2026, 1:21 PM
Reserved
Oct 25, 2026, 12:28 PM
Status
Deferred
Published
Oct 26, 2026, 2:16 PM
Modified
Nov 5, 2026, 5:17 PM