Dolibarr has SQL Injection in societe/class/societe.class.php via localtax1_value parameter
High severity. Published 27 October 2026. Update dolibarr/dolibarr to the fixed version of your branch (22.0.5, 23.0.2): composer update dolibarr/dolibarr.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| dolibarr/dolibarr (opens in a new tab) | < 22.0.5 | >= 23.0.0, < 23.0.2 | 22.0.5, 23.0.2 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show dolibarr/dolibarr
composer auditAdvisory details
| Severity | HighCVSS 8.8 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-33944 (opens in a new tab) |
| GHSA | GHSA-v5fq-cf5m-vwv7 (opens in a new tab) |
| Weakness | CWE-89 |
What the advisory says
Summary
A SQL Injection vulnerability exists in the Third Party (Company) update functionality of Dolibarr ERP/CRM. The localtax1value parameter (lt1) is concatenated directly into an SQL UPDATE statement in societe/class/societe.class.php at line 1672 without any escaping, type casting, or parameterized query binding.
An authenticated user with standard "Third Party: Create/Edit" permission can extract any data from the database, including password hashes, API keys, and all business data.
Tested on Dolibarr v23.0.0 (latest stable), default installation via official Docker image, MariaDB 10.11. No custom modules, no modified configuration.
Details
Source: GHSA-v5fq-cf5m-vwv7 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .