Original 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().
Affected software
- Dolibarr < 23.0.2 Fixed in: 23.0.2 repository or package match
Details
- Published
- 2026-04-07
- Last modified
- 2026-11-08
- CVSS vector
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- CWE
- CWE-95
- EPSS (30-day exploit probability)
- 15.79% (percentile 97)
References
- cve.org/CVE-2026-22666
- nvd.nist.gov/vuln/detail/CVE-2026-22666
- jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666
- github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg
- github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea
- github.com/Dolibarr/dolibarr/releases/tag/23.0.2
- www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.