CVE-2026-22666 PUBLISHED

Dolibarr ERP/CRM < 23.0.2 Authenticated RCE via dol_eval_standard()

Assigner: VulnCheck
Reserved: 08.01.2026 Published: 07.04.2026 Updated: 07.04.2026

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

Metrics

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
CVSS Score: 8.6

Product Status

Vendor Dolibarr
Product Dolibarr ERP/CRM
Versions Default: unaffected
  • affected from 0 to 23.0.2 (excl.)
  • Version 6f425521b3e6f9f27eca05228e02093dbaa40dea is unaffected

Credits

  • Jiva (JivaSecurity) finder

References

Problem Types

  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') CWE