# Dolibarr has SQL Injection in societe/class/societe.class.php via localtax1_value parameter

High severity, published 2026-10-27. Update dolibarr/dolibarr to the fixed version of your branch (22.0.5, 23.0.2): composer update dolibarr/dolibarr.

Canonical URL: https://buzzphp.com/security/ghsa-v5fq-cf5m-vwv7 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.8) |
| Published | 2026-10-27 |
| Updated | 2026-11-05 |
| CVE | [CVE-2026-33944](https://nvd.nist.gov/vuln/detail/CVE-2026-33944) |
| GHSA | [GHSA-v5fq-cf5m-vwv7](https://github.com/advisories/GHSA-v5fq-cf5m-vwv7) |
| Weakness | CWE-89 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| dolibarr/dolibarr | < 22.0.5 or >= 23.0.0, < 23.0.2 | 22.0.5, 23.0.2 |

## What to do

Update dolibarr/dolibarr to the fixed version of your branch (22.0.5, 23.0.2): composer update dolibarr/dolibarr.

Check which version you run with `composer show dolibarr/dolibarr`, and every affected package with `composer audit`.

## About this advisory

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



## Links

- [GHSA-v5fq-cf5m-vwv7 on GitHub](https://github.com/advisories/GHSA-v5fq-cf5m-vwv7)
- [CVE-2026-33944 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-33944)
- [All Composer security advisories](https://buzzphp.com/security)
