Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege holiday user
-
DeliveryCraft schema.alias.column sqlfilters operand
-
ExploitBypass forbidden-field denylist check
-
ExecutionExtract admin api_key via boolean oracle
-
ImpactAuthenticate via REST as administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Alternate path protection
|
| Exploitation Conditions | Requires a remote authenticated Dolibarr account (before 24.0.3) holding only the holiday 'read' and 'readall' permissions - no user-management or admin rights - reachable via the REST API endpoint GET /api/index.php/holidays using the Universal Search Filter (sqlfilters) parameter. The database backend must be MariaDB or MySQL, which accept two-level qualification (schema.alias.column), because the flaw is that dolForgeSQLCriteriaCallback() strips only one table-name prefix before checking the operand against the denylist (pass, pass_crypted, api_key). Limiting factors: a valid low-privilege login is required (not unauthenticated), the technique is a boolean oracle needing many requests per recovered character, and it depends on the MySQL/MariaDB multi-level qualification behavior; it otherwise works against default configurations where the Universal Search Filter is available. |
| Impact | This is a genuine high-priority issue rather than an inflated-CVSS artifact, though not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H = 8.8) is consistent with the described mechanism: a remote, network-reachable, low-complexity attack requiring only a low-privilege authenticated account (PR:L) that holds nothing more than holiday read/readall permissions, yet yields full administrative control. The vuln.today Decision label is 'this_week' (not act_now/emergency), which tempers urgency. No EPSS score and no CISA KEV entry were provided, and no confirmed working exploit code is listed, so there is no evidence of active in-the-wild exploitation at time of analysis. However, two factors raise real-world risk above the raw signals: a detailed third-party technical advisory (tajapps.com TAJ-2026-002) and the public patch commits describe the exact bypass, and the attack is a deterministic boolean oracle that extracts hashes/api_key one character at a time - trivially automatable despite requiring many requests. The privilege barrier (any authenticated low-tier user) is low for multi-user ERP/CRM deployments. Missing data: EPSS and KEV status were not supplied and cannot be confirmed here. |
| Exploit ScenarioDerived | A low-privilege authenticated Dolibarr user (holding only holiday read/readall permissions) sends crafted Universal Search Filter operands of the form dolibarr.u.pass_crypted to GET /api/index.php/holidays, using the differing responses as a boolean oracle to recover an administrator's api_key one character at a time. The attacker then presents that api_key as a REST bearer credential to gain full administrative control. No confirmed working exploit code is listed, but a detailed public technical advisory (TAJ-2026-002) and the patch commits document the technique; the network vector and low attack complexity make reliable automation straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Dolibarr ERP/CRM before 24.0.3 allows an authenticated user with only the holiday read and readall permissions to extract any account's bcrypt password hash and API key character by character through a boolean oracle at GET /api/index.php/holidays. The flaw is a denylist bypass in dolForgeSQLCriteriaCallback(): the Universal Search Filter (sqlfilters) operand is stripped of only one table-name prefix before being checked against the forbidden-field list, so a two-level qualification such as dolibarr.u.pass_crypted passes the check on MariaDB and MySQL and is emitted into the WHERE clause. Because the recovered api_key is accepted by the REST API as a bearer credential, successful extraction grants full administrative control; the fix for CVE-2026-89012 (a strtolower() call) did not address prefix depth and is bypassed. No public exploit code was identified at time of analysis, though a technical advisory describing the technique is public; the vendor has released 24.0.3.
RemediationAI
Upgrade to Dolibarr 24.0.3 or later, which contains the prefix-depth fix in commit 725d20884d93b46f07b66a93071d3229b870865f; the earlier strtolower() change from CVE-2026-89012 alone is insufficient and must not be treated as remediation. Because exploitation yields bcrypt password hashes and API keys, treat any pre-patch exposure window as a credential compromise: after upgrading, rotate every user's api_key and force password resets, with priority on administrator accounts, since a recovered api_key remains a valid bearer credential independent of the patch. Where upgrading cannot be done immediately, the practical compensating control is to restrict access to the REST API - particularly GET /api/index.php/holidays and any endpoint that forwards a sqlfilters parameter - to trusted networks or service accounts and to remove the holiday read/readall permissions from users who do not need them, accepting that this limits legitimate API integrations and does not close the underlying parser flaw. Note that no vendor-documented configuration switch for disabling the Universal Search Filter is identified in the available sources, so access restriction and permission minimization are the only interim options presented.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dolibarr's Universal Search Filter exposes a sqlfilters parameter that the application parses and converts into SQL WHERE fragments. dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php was intended to refuse operands referencing sensitive columns by stripping a single table prefix and comparing the remainder against a denylist of pass, pass_crypted and api_key (the CVE-2026-89012 fix merely lowercased the compared value). MariaDB and MySQL accept multi-level qualification of the form schema.alias.column, so removing one prefix segment leaves 'u.pass_crypted', which is not on the denylist and is therefore emitted verbatim into the query - an alternate naming path to a protected field, matching CWE-424 (Improper Protection of Alternate Path). The same denylist also omits pass_temp (cleartext passwords), national_registration_number, salary, birth, address, personal_mobile and note_private. The result is a classic boolean-inference oracle: an attacker binary-searches each character of a target column via response differences, which is slow per character but fully automatable and requires no administrative rights beyond holiday read/readall. The REST API accepting api_key directly as a bearer token turns disclosure of that column into complete administrative compromise.
Know when Dolibarr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network REST API (AV:N), deterministic automatable oracle (AC:L), needs a low-privilege authenticated holiday account (PR:L), no user interaction; recovered api_key grants full admin, so C/I/A:H with S:U as the vulnerable and impacted component is the same application.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover because it strips only a single table-name prefix from a Universal Search Filter (sqlfilters) operand before checking it against the forbidden-field denylist (pass, pass_crypted, api_key). MariaDB and MySQL accept a two-level qualification such as schema.alias.column, so an operand of the form dolibarr.u.pass_crypted survives the check and is emitted into the WHERE clause. A remote authenticated user holding only the holiday read and readall permissions, which confer no user-management or administrative access, can use the resulting boolean oracle at GET /api/index.php/holidays to recover any user's bcrypt password hash and api_key one character at a time, including an administrator's. Because api_key is accepted directly by the REST API as a bearer credential, this yields full administrative control of the application. This bypasses the fix for CVE-2026-89012, which added only a strtolower() call and did not address prefix depth. The same denylist also omits pass_temp, which stores a password in cleartext, as well as national_registration_number, salary, birth, address, personal_mobile and note_private.
Executive ViewAI
Dolibarr ERP/CRM versions before 24.0.3 contain a high-severity vulnerability that permits any authenticated user with basic holiday permissions to extract administrative credentials, including bcrypt password hashes and API keys, from the database. This could lead to full compromise of the ERP system, exposing sensitive business data and disrupting critical operations. Leadership should prioritize patching because the flaw enables privilege escalation with minimal access and the advisory is public, increasing the likelihood of attempted exploitation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea
Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit
Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive
Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s
SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe
Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra
Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r
The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha
The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem
SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute arbitrary SQL commands via vecto
Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute
EUVD-2026-130766
GHSA-6m2v-gxrq-q72v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB