What’s Vulnerable › Vulnerabilities

CVE-2026-22666: Dolibarr ERP/CRM < 23.0.2 Authenticated RCE via dol_eval_standard()

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 products

How to fix

Upgrade to a fixed version: dolibarr 23.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-22666 or the next vulnerability affects your stack