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 affecting versions prior to 23.0.2. The issue lies in the dol_eval_standard() function, which inadequately applies forbidden string checks when operating in whitelist mode and fails to detect PHP dynamic callable syntax. This allows attackers with administrator privileges to inject malicious PHP code through computed extrafields or other evaluation paths. The injected code bypasses validation and is executed via the eval() function, leading to arbitrary command execution within the application context.
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 application environment, including unauthorized data access, modification, or destruction, and potentially further system-level impact depending on the hosting environment. The vulnerability requires authenticated access with high privileges, limiting exposure to trusted users with admin rights.
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 personnel only and monitor for suspicious activity related to computed extrafields or dynamic code evaluation. Avoid using untrusted input in evaluation functions and consider disabling or restricting the use of dynamic code evaluation features if possible.
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().
CVSS v4.0
Score 8.6high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-22666 is an authenticated remote code execution vulnerability in Dolibarr ERP/CRM affecting versions prior to 23.0.2. The issue lies in the dol_eval_standard() function, which inadequately applies forbidden string checks when operating in whitelist mode and fails to detect PHP dynamic callable syntax. This allows attackers with administrator privileges to inject malicious PHP code through computed extrafields or other evaluation paths. The injected code bypasses validation and is executed via the eval() function, leading to arbitrary command execution within the application context.
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 application environment, including unauthorized data access, modification, or destruction, and potentially further system-level impact depending on the hosting environment. The vulnerability requires authenticated access with high privileges, limiting exposure to trusted users with admin rights.
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 personnel only and monitor for suspicious activity related to computed extrafields or dynamic code evaluation. Avoid using untrusted input in evaluation functions and consider disabling or restricting the use of dynamic code evaluation features if possible.
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: 04/07/2026, 13:01:10 UTC
Last enriched: 07/15/2026, 11:02:32 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 77
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.