Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as administrator
-
DeliveryAccess computed extrafields configuration
-
ExploitInject PHP dynamic callable syntax
-
ExecutionBypass whitelist validation in dol_eval_standard()
-
ImpactExecute arbitrary code via eval()
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires administrator privileges in Dolibarr ERP/CRM versions prior to 23.0.2. Attacker must inject malicious PHP dynamic callable syntax through computed extrafields or other evaluation paths that use the vulnerable dol_eval_standard() function in whitelist mode. No victim interaction needed. |
| Impact | This vulnerability presents a significant but contextually limited risk profile. The CVSS v3.1 score of 7.2 (High severity) reflects network accessibility (AV:N), low attack complexity (AC:L), and complete impact across confidentiality, integrity, and availability (C:H/I:H/A:H). However, the critical mitigating factor is the high privilege requirement (PR:H)-exploitation requires administrator-level credentials, substantially reducing the pool of potential attackers to malicious insiders, compromised admin accounts, or post-exploitation scenarios. Publicly available exploit code exists per Jiva Security's technical writeup, lowering the technical barrier for attackers who have already obtained admin access. No CISA KEV listing indicates this is not confirmed as actively exploited in real-world attacks at time of analysis. From an SSVC perspective: exploitation requires authentication and cannot be automated against arbitrary targets without prior credential compromise; technical impact is total system compromise within the application context. Real-world risk is elevated for organizations with weak admin account security, shared credentials, or inadequate privilege separation, but relatively contained compared to unauthenticated RCE vulnerabilities. Priority should be high for patching production Dolibarr instances, but the authentication requirement prevents mass exploitation campaigns. |
| Exploit ScenarioDerived | An attacker who has compromised administrator credentials through phishing, credential stuffing, or insider access logs into the Dolibarr administrative interface and navigates to the extrafields configuration section. They create or modify a computed extrafield with a malicious PHP dynamic callable payload such as ('system')('whoami > /tmp/pwned') that bypasses the whitelist validation in dol_eval_standard(). When the application processes this extrafield during normal operations or manual trigger, the eval() function executes the attacker's system command, granting shell access to the underlying server with the web application's privileges. The attacker can then escalate privileges, exfiltrate sensitive business data including customer records and financial information, install persistent backdoors, or pivot to other systems on the network. Publicly available exploit code documented by Jiva Security at https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666 provides step-by-step technical guidance, making this scenario readily executable by moderately skilled attackers with admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Remote code execution in Dolibarr ERP/CRM versions prior to 23.0.2 allows authenticated administrators to execute arbitrary system commands by exploiting inadequate input validation in the dol_eval_standard() function. The vulnerability enables attackers to bypass security controls using PHP dynamic callable syntax through computed extrafields or other evaluation paths. With a CVSS score of 7.2 and publicly available exploit code documented by Jiva Security, this represents an elevated risk for organizations running unpatched Dolibarr instances, though exploitation requires high-privilege administrator access (CVSS:3.1/PR:H), limiting the attack surface to insider threats or compromised admin accounts.
RemediationAI
Vendor-released patch: Dolibarr version 23.0.2. Organizations running affected versions should immediately upgrade to Dolibarr ERP/CRM 23.0.2 or later, available from the official GitHub release at https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2. The security fix is implemented in commit 6f425521b3e6f9f27eca05228e02093dbaa40dea, which strengthens input validation in the dol_eval_standard() function to properly detect and block PHP dynamic callable syntax in whitelist mode. For environments unable to immediately upgrade, implement compensating controls including restricting administrator account access to trusted personnel only, enabling comprehensive audit logging for all admin actions especially those involving custom extrafields or computed expressions, enforcing multi-factor authentication for all administrative accounts, and monitoring for unusual eval() function calls in application logs. Review and disable any custom computed extrafields that are not operationally required. Consult the official security advisory at https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg and VulnCheck's analysis at https://www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard for additional technical details.
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 ERP/CRM is an open-source business management application written in PHP. This vulnerability resides in the dol_eval_standard() function, which performs dynamic code evaluation using PHP's eval() construct. The function implements two security modes: a blacklist mode and a whitelist mode intended to restrict dangerous operations. The flaw occurs because the whitelist mode fails to properly validate against forbidden string patterns and does not detect PHP dynamic callable syntax-a feature allowing strings to be treated as function names (e.g., variable functions like $func='system'; $func('command')). This enables attackers to construct payloads that pass validation checks but still execute arbitrary code. The vulnerability is classified as CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code), commonly known as code injection. Attack vectors include computed extrafields (custom database fields with dynamic expressions) and other code paths that invoke dol_eval_standard() with attacker-controlled input. The affected product CPE is cpe:2.3:a:dolibarr:dolibarr_erp/crm, impacting all versions before the 23.0.2 security release.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the dol_eval_standard() function that fails to apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax. Attackers with administrator privileges can inject malicious payloads through computed extrafields or other evaluation paths using PHP dynamic callable syntax to bypass validation and achieve arbitrary command execution via eval().
Articles & Coverage 1
Executive ViewAI
Dolibarr ERP/CRM versions before 23.0.2 contain a remote code execution vulnerability that allows authenticated administrators to execute arbitrary system commands through unsafe input validation in the dol_eval_standard() function. Organizations running unpatched Dolibarr instances face risk of complete system compromise if an administrator account is compromised or a malicious insider exploits this vulnerability; immediate patching is required to eliminate this high-privilege attack vector.
Apply vendor patch to version 23.0.2 or later. Interim mitigations if patching is delayed: restrict Dolibarr administrative console access to a network segment with enhanced monitoring; implement multi-factor authentication for all administrator accounts; disable or restrict extrafields features that may trigger the dol_eval_standard() function; maintain detailed audit logs of all administrative actions.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-19606
GHSA-m6qg-6w6h-v59x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB