CVE-2026-22666: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in Dolibarr Dolibarr ERP/CRM
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().
AI Analysis
Technical Summary
CVE-2026-22666 is an authenticated remote code execution vulnerability in Dolibarr ERP/CRM prior to version 23.0.2. The flaw exists in the dol_eval_standard() function, which fails to properly apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax. This allows attackers with administrator privileges to inject malicious code using PHP dynamic callable syntax, bypassing validation and executing arbitrary commands via eval(). The vulnerability is classified under CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code). The CVSS 4.0 base score is 8.6, indicating high severity. No patch or official remediation level has been provided yet, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker with administrator privileges to execute arbitrary PHP code remotely on the affected system. This can lead to full compromise of the Dolibarr ERP/CRM application environment, potentially affecting data integrity, confidentiality, and availability. The vulnerability requires high privileges (administrator) and does not require user interaction. The high CVSS score reflects the critical impact of remote code execution in a widely used ERP/CRM platform.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrator access to trusted users only and monitor for suspicious activity related to computed extrafields or dynamic code evaluation. Avoid using vulnerable versions of Dolibarr ERP/CRM in untrusted environments. Follow vendor channels closely for updates and apply official patches once available.
CVE-2026-22666: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in Dolibarr Dolibarr ERP/CRM
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().
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-22666 is an authenticated remote code execution vulnerability in Dolibarr ERP/CRM prior to version 23.0.2. The flaw exists in the dol_eval_standard() function, which fails to properly apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax. This allows attackers with administrator privileges to inject malicious code using PHP dynamic callable syntax, bypassing validation and executing arbitrary commands via eval(). The vulnerability is classified under CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code). The CVSS 4.0 base score is 8.6, indicating high severity. No patch or official remediation level has been provided yet, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker with administrator privileges to execute arbitrary PHP code remotely on the affected system. This can lead to full compromise of the Dolibarr ERP/CRM application environment, potentially affecting data integrity, confidentiality, and availability. The vulnerability requires high privileges (administrator) and does not require user interaction. The high CVSS score reflects the critical impact of remote code execution in a widely used ERP/CRM platform.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrator access to trusted users only and monitor for suspicious activity related to computed extrafields or dynamic code evaluation. Avoid using vulnerable versions of Dolibarr ERP/CRM in untrusted environments. Follow vendor channels closely for updates and apply official patches once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-08T19:04:26.364Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d50016aaed68159a219cc5
Added to database: 4/7/2026, 1:01:10 PM
Last enriched: 4/7/2026, 1:16:21 PM
Last updated: 4/8/2026, 1:57:24 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.