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.
Published: 2026-10-26
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: SQL Injection
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Mon, 26 Oct 2026 14:00:00 +0000

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'}


Subscriptions

Dolibarr Dolibarr Erp\/crm
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T13:08:49.982Z

Reserved: 2026-10-25T12:28:44.092Z

Link: CVE-2026-116218

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-26T14:16:34.823

Modified: 2026-10-26T14:16:34.953

Link: CVE-2026-116218

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T15:45:12Z

Weaknesses
  • CWE-89

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