RCE in Dolibarr Erp/crm
CVE-2026-22666
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.158, 96.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dolibarr Erp/crm — versions 0, 6f425521b3e6f9f27eca05228e02093dbaa40dea
- Dolibarr Erp\/crm
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- JivaSecurity/DOLIBARR-RCE-CVE-2026-22666 (last pushed 2026-04-08): dol_eval_standard() whitelist bypass eval() RCE, affecting Dolibarr 23.0.0 and below by jiva (jivasecurity.com)
References
- jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666 (Exploit, technical-description, Third Party Advisory, exploit)
- GitHub Security Advisory (GHSA-vmvw-qq8w-wqhg) (vendor-advisory, Broken Link)
- github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea (Patch, patch)
- Dolibarr ERP/CRM 23.0.2 Release Notes (release-notes, Release Notes)
- www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-st… (VDB Entry, Third Party Advisory, third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.