CVE-2026-22666
CVE-2026-22666 · Dolibarr ERP/CRM < 23.0.2 Authenticated RCE via dol_eval_standard()
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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().
CVSS 8.6 · High · EPSS 15.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
dolibarr erp/crm
- Versions
- ≥ 0, < 23.0.2: Affected (semver)
- 6f425521b3e6f9f27eca05228e02093dbaa40dea: Not affected (git)
Update to 23.0.2
dolibarr Ubuntu:Pro:16.04:LTS
- Versions
- 3.5.5+dfsg1-2
- 3.5.7+dfsg1-1
- 3.5.8+dfsg1-1
- 3.5.8+dfsg1-1ubuntu1
- 3.5.8+dfsg1-1ubuntu1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666
- https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg
- https://github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea
- https://github.com/Dolibarr/dolibarr/releases/tag/23.0.2
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard
- https://nvd.nist.gov/vuln/detail/CVE-2026-22666