CVE-2026-33944
Dolibarr third-party update SQL injection lets authenticated users read sensitive data (CVE-2026-33944)
Dolibarr before 22.0.5 and 23.0.0 through 23.0.1 have SQL injection in Third Party update. An authenticated user with Third Party create or edit permission can read password hashes, API keys and business data, or modify records. CVSS 8.8 high. Restrict access and follow the vendor advisory.
What happened
An attacker with a Dolibarr account that can create or edit Third Party records can inject SQL in the Third Party company update. The application puts the localtax1_value and localtax2_value properties into an SQL UPDATE statement without numeric conversion or sanitisation, so crafted lt1 or lt2 POST parameters become SQL code.
The result is CWE-89 SQL injection over the network with low privileges and no user interaction. A successful attacker can read sensitive database information, including password hashes, API keys and business data, or modify third-party records. The CVSS score is 8.8 high. No exploitation in the wild is currently reported.
Who is affected
Affected releases are Dolibarr before 22.0.5 and Dolibarr 23.0.0 through 23.0.1. The vulnerable path is the Third Party company update functionality, so the practical exposure is a Dolibarr instance where accounts with Third Party create or edit permission can reach the web interface. Typical deployments are self-hosted ERP/CRM systems that hold customer and supplier records; internet-facing instances should be checked first.
What to do now
- Confirm whether your Dolibarr version is before 22.0.5 or in the 23.0.0–23.0.1 range.
- Review accounts that hold Third Party create or edit permission and remove or suspend any that are not essential.
- The vendor advisory does not list a workaround. Until a fix is in place, restrict network access to the Dolibarr web interface, especially if it is internet-facing.
- Apply the vendor fix once published; the CVE record cites fixed releases 22.0.5 and 23.0.2. Check the vendor advisory before deploying.
How to detect it
Because the vulnerable path is a SQL injection in Third Party update requests, review web server logs for unusual lt1 or lt2 values in POST requests to that endpoint, particularly long strings, quotes or SQL keywords. Enable or review database audit logs for unexpected UPDATE statements against third-party tables, such as mass changes to local tax fields or company records that did not come through normal workflow.
Beyond the patch
Beyond patching, this is the sort of input-validation flaw that Implementation & Assessment Services penetration testing and hardening finds before an authorised user can abuse it in production. Because Dolibarr is an open-source third-party ERP/CRM application with its own release cadence, Supply Chain Defense & Third-Party Risk is where you track the version you run and the vendor's patch timing so this exposure window closes on schedule.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| dolibarr | < 22.0.5 >= 23.0.0, < 23.0.2 | No fixed version listed yet |
References
Vendor advisory
Other
- github.com/Dolibarr/dolibarr/pull/37632
- github.com/Dolibarr/dolibarr/commit/a06b14b7dc39d33f8fa00c9b27f2913b494885cb
- github.com/Dolibarr/dolibarr/commit/c83c13305240c2c0a3779e678b57238b32d15e7c
- github.com/Dolibarr/dolibarr/releases/tag/22.0.5
- github.com/Dolibarr/dolibarr/releases/tag/23.0.2
- www.sec4check.pl/blog/posts/cve-dolibarr-sql-injection-localtax-third-party.html