Description
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().
Problem types
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Product status
Any version before 23.0.2
6f425521b3e6f9f27eca05228e02093dbaa40dea (git)
Credits
Jiva (JivaSecurity)
References
jivasecurity.com/...arr-remote-code-execution-cve-2026-22666
github.com/...libarr/security/advisories/GHSA-vmvw-qq8w-wqhg
github.com/...ommit/6f425521b3e6f9f27eca05228e02093dbaa40dea
github.com/Dolibarr/dolibarr/releases/tag/23.0.2
www.vulncheck.com/...authenticated-rce-via-dol-eval-standard