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

Published Apr 7, 2026
·
Updated

Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the dolevalstandard() 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

2 affected components
dolibarr Dolibarr ERP/CRM<23.0.2
dolibarr Dolibarr Erp\/crm<23.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Dolibarr ERP/CRM to a version that resolves this vulnerability.

    Fixed in 23.0.2
  2. Compensating control

    For authenticated access to any functionality that could reach dol_eval_standard(), restrict administrator-privileged actions and limit who/what can use computed extrafields or other evaluation paths (e.g., enforce strong access control so only trusted admin users can submit/modify them).

Event History

Apr 7, 2026
CVE Published
via MITRE·12:41 PM
Data Sourced
via MITRE·12:41 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22666?

CVE-2026-22666 is considered a critical vulnerability due to its potential for authenticated remote code execution.

2

How do I fix CVE-2026-22666?

To fix CVE-2026-22666, upgrade Dolibarr ERP/CRM to version 23.0.2 or later.

3

What causes CVE-2026-22666 in Dolibarr ERP/CRM?

CVE-2026-22666 is caused by a failure in the dol_eval_standard() function to properly apply forbidden string checks in whitelist mode.

4

Who is affected by CVE-2026-22666?

Users of Dolibarr ERP/CRM versions prior to 23.0.2 are affected by CVE-2026-22666.

5

What type of vulnerability is CVE-2026-22666?

CVE-2026-22666 is classified as an authenticated remote code execution vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-22666 - Dolibarr ERP/CRM < 23.0.2 Authenticated RCE via dol_eval_standard() - SecAlerts