High · 8.8 PHP packages GHSA-v5fq-cf5m-vwv7 CVE-2026-33944 PKSA-w1dm-r75t-7cq5
Dolibarr SQL Injection Vulnerability Allows Database Exposure via Third Party Tax Fields (CVE-2026-33944)
A SQL injection vulnerability in Dolibarr's Third Party company update functionality allows authenticated users with Third Party create or edit permission to read sensitive database information or modify records. Fixed in versions 22.0.5 and 23.0.2.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A SQL injection vulnerability has been identified in Dolibarr, an open-source enterprise resource planning and customer relationship management application. The issue affects the Third Party company update functionality and allows an authenticated user with the right permissions to manipulate database queries, potentially exposing sensitive data. Fixed versions are available.
What happened
A SQL injection vulnerability was identified in Dolibarr's Third Party company update functionality, specifically in societe/class/societe.class.php. The application concatenates the localtax1_value and localtax2_value properties into a SQL UPDATE statement without numeric conversion or other appropriate sanitization. An authenticated user with Third Party create or edit permission can submit crafted lt1 or lt2 POST parameters to inject SQL into this statement.
Technical cause
The root cause is improper neutralization of special elements used in a SQL command (CWE-89). User-supplied values for localtax1_value and localtax2_value are inserted directly into a SQL UPDATE statement without being converted to numeric values or otherwise sanitized, allowing an attacker to alter the structure of the query.
Why it matters
Successful exploitation allows an authenticated attacker to read sensitive database information, including password hashes, API keys, and business data, or to modify third-party records. Because no user interaction is required beyond submitting a crafted request, and the impact covers confidentiality, integrity and availability, this is a significant risk for any installation where users may hold Third Party create or edit permissions.
Who is affected
Any organization running the dolibarr/dolibarr package in versions affected by this issue, where users are granted Third Party create or edit permission, is at risk. The vulnerability requires an authenticated account with low privileges rather than an anonymous attacker.
Affected versions
According to the advisory data, versions prior to 22.0.5 are affected, as are versions from 23.0.0 up to (not including) 23.0.2. The fact package contains some inconsistency between sources regarding exact range boundaries, but all sources agree the fixes are versions 22.0.5 and 23.0.2.
Fixes and mitigation
This issue is fixed in Dolibarr versions 22.0.5 and 23.0.2. Organizations running affected versions should upgrade to one of these fixed versions as soon as possible.
Recommended action
Upgrade Dolibarr to version 22.0.5 or 23.0.2, depending on your current version branch. Until the update can be applied, consider restricting Third Party create and edit permissions to trusted users only, as this reduces the pool of accounts that could exploit the vulnerability.
PatchBriefing score
8.8 / 10 · High
Official CVSS: 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS 0.0055 (40 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- dolibarr/dolibarr >= 23.0.0, < 23.0.2
- vulnerable
- dolibarr/dolibarr >=23.0.0,<23.0.2|<22.0.5
- vulnerable
- dolibarr/dolibarr ≥ 23.0.0 < 23.0.2
- vulnerable
- ≥ 22.0.5
- patched
- ≥ 23.0.2
- patched
Reported fixes
This issue is fixed in Dolibarr versions 22.0.5 and 23.0.2. Organizations running affected versions should upgrade to one of these fixed versions as soon as possible.
How this was built
5 source records were collected, matched and used to prepare the report above.
-
GitHub Advisory Database database
-
Packagist Security Advisories registry
-
OSV.dev database
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated
- Published
- Generated
- Published
- Generated