htdocs/core/lib/functions.lib.php · In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback()
Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.8 High : upgrade to 24.0.3 soon.
Data as of 20 Nov 2026, 01:37 UTC
Thin evidence
One scorer or none| CNA (mitre) | CVSS 3.1 | 8.8 |
|---|
- Patch
- Available – fixed in 24.0.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade Dolibarr ERP/CRM to 24.0.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| DolibarrDolibarr ERP/CRM | Affected
| Fixed in
|
GitHubDolibarr ERP/CRMpkg:github/Dolibarr ERP/CRMOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Dolibarr version 24.0.3 and later. Users should upgrade to version 24.0.3 or newer to remediate this vulnerability. Until patched, restricting access to the REST API and limiting permissions may reduce exposure, but upgrading is the recommended action.
Description
Dolibarr versions before 24.0.3 contain a vulnerability in the dolForgeSQLCriteriaCallback() function that allows a remote authenticated user with limited permissions to perform an account takeover. The flaw arises because the function only strips a single table-name prefix from SQL filter operands, allowing multi-level qualified fields like dolibarr.u.pass_crypted to bypass forbidden-field checks. This enables an attacker to extract bcrypt password hashes and API keys character by character via the REST API, leading to full administrative control. The vulnerability bypasses a previous fix and exposes sensitive fields not included in the denylist.
References
- nvd.nist.gov/vuln/detail/CVE-2026-133476 (opens in a new tab)
- github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865f (opens in a new tab)
- github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8 (opens in a new tab)
- github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog (opens in a new tab)
- github.com/Dolibarr/dolibarr/releases/tag/24.0.3 (opens in a new tab)
- tajapps.com/advisories/TAJ-2026-002 (opens in a new tab)