Skip to main content

Dolibarr EUVDEUVD-2026-19606

| CVE-2026-22666 HIGH
Eval Injection (CWE-95)
2026-04-07 VulnCheck GHSA-m6qg-6w6h-v59x
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as administrator
  2. Delivery
    Access computed extrafields configuration
  3. Exploit
    Inject PHP dynamic callable syntax
  4. Execution
    Bypass whitelist validation in dol_eval_standard()
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Dolibarr ERP/CRM 0 <23.0.2

Affected Packages

euvd dolibarr_erp_crm fix: 23.0.2

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
PoC Detected
Apr 07, 2026 - 13:20 vuln.today
Public exploit code
Patch released
Apr 07, 2026 - 13:00 nvd
Patch available
CVE Published
Apr 07, 2026 - 12:41 nvd
HIGH 8.6

DescriptionCVE.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().

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 70% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

CVE-2023-38886 HIGH POC
7.2 Sep 20

An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra

CVE-2023-30253 HIGH POC
8.8 May 29

Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea

CVE-2017-7886 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit

CVE-2023-38888 CRITICAL POC
9.6 Sep 20

Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive

CVE-2017-7888 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s

CVE-2022-4093 CRITICAL POC
9.8 Nov 21

SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe

CVE-2022-43138 CRITICAL POC
9.8 Nov 17

Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra

CVE-2022-40871 CRITICAL POC
9.8 Oct 12

Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2021-33816 CRITICAL POC
9.8 Nov 10

The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha

CVE-2020-7995 CRITICAL POC
9.8 Jan 26

The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem

CVE-2018-10094 CRITICAL POC
9.8 May 22

SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute arbitrary SQL commands via vecto

CVE-2018-25357 CRITICAL POC
9.3 May 23

Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy