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

Configuration 1 (hide)

cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:*

History

24 Apr 2026, 14:20

Type Values Removed Values Added
First Time Dolibarr
Dolibarr dolibarr Erp\/crm
CWE CWE-94
CPE cpe:2.3:a:dolibarr:dolibarr_erp\/crm:*:*:*:*:*:*:*:*
References () https://github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea - () https://github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea - Patch
References () https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2 - () https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2 - Release Notes
References () https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg - () https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg - Broken Link
References () https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666 - () https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666 - Exploit, Third Party Advisory
References () https://www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard - () https://www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard - Third Party Advisory, VDB Entry

07 Apr 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-07 13:16

Updated : 2026-07-14 16:16


NVD link : CVE-2026-22666

Mitre link : CVE-2026-22666

CVE.ORG link : CVE-2026-22666


JSON object : View

Products Affected

dolibarr

  • dolibarr_erp\/crm
CWE
CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

CWE-94

Improper Control of Generation of Code ('Code Injection')