{"id":"CVE-2026-116218","title":"Dolibarr ERP CRM 19.0.0 before 23.0.4 SQL Injection via bankaccounts API type field","summary":"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 permissio…","severity":"high","cvss":7.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","cvssSource":"cna","cwe":["CWE-89"],"vendor":"Dolibarr","product":"dolibarr","affected":["dolibarr >= 19.0.0 < 23.0.4"],"published":"2026-10-26","updated":"2026-10-26","sourceUpdated":"2026-10-26T17:47:50.586Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116218","references":[{"url":"https://github.com/Dolibarr/dolibarr/commit/19991c8ffa9b4fd7338b7ef2585fadb554b86735","label":"Patch Commit"},{"url":"https://github.com/Dolibarr/dolibarr/blob/23.0.3/htdocs/societe/class/companybankaccount.class.php#L399"},{"url":"https://github.com/Dolibarr/dolibarr/blob/23.0.3/htdocs/societe/class/api_thirdparties.class.php#L1852"},{"url":"https://github.com/Dolibarr/dolibarr"},{"url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-19.0.0-before-23.0.4-sql-injection-via-bankaccounts-api-type-field","label":"VulnCheck Advisory: Dolibarr ERP CRM 19.0.0 before 23.0.4 SQL Injection via bankaccounts API type field"}],"tags":["cve.org"],"ingestedAt":"2026-10-26T14:27:31.827Z","slug":"CVE-2026-116218","body":"## Overview\n\nDolibarr 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.\n\n## Affected\n\n- `dolibarr >= 19.0.0 < 23.0.4`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":41.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}