Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-22666: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in Dolibarr Dolibarr ERP/CRM

0
High
VulnerabilityCVE-2026-22666cvecve-2026-22666cwe-95
Published: Tue Apr 07 2026 (04/07/2026, 12:41:31 UTC)
Source: CVE Database V5
Vendor/Project: Dolibarr
Product: Dolibarr ERP/CRM

Description

Dolibarr ERP/CRM versions prior to 23. 0. 2 contain a high-severity authenticated remote code execution vulnerability (CVE-2026-22666) in the dol_eval_standard() function. This vulnerability arises because the function fails to properly apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax. Attackers with administrator privileges can exploit this flaw by injecting malicious payloads through computed extrafields or other evaluation paths, bypassing validation and executing arbitrary code via eval(). No official patch or remediation guidance is currently confirmed.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 16:09:12 UTC

Technical Analysis

CVE-2026-22666 is an authenticated remote code execution vulnerability in Dolibarr ERP/CRM prior to version 23.0.2. The issue exists in the dol_eval_standard() function, which improperly neutralizes directives in dynamically evaluated PHP code (CWE-95). Specifically, it fails to enforce forbidden string checks when operating in whitelist mode and does not detect PHP dynamic callable syntax. This allows attackers with administrator privileges to inject malicious PHP code through computed extrafields or other evaluation paths, bypassing validation and achieving arbitrary command execution via eval(). The vulnerability has a CVSS 4.0 score of 8.6, indicating high severity. No patch or official remediation level is currently documented.

Potential Impact

Successful exploitation allows an attacker with administrator privileges to execute arbitrary PHP code remotely on the affected Dolibarr ERP/CRM system. This can lead to full system compromise, data theft, or disruption of service. The vulnerability requires authenticated access with high privileges, limiting exposure to trusted users or compromised administrator accounts. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted personnel only and monitor for suspicious activity related to computed extrafields or dynamic code evaluation. Avoid enabling or using features that rely on dynamic evaluation of PHP code if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/14/2026, 4:09:12 PM

Last updated: 5/23/2026, 3:45:00 AM

Views: 41

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses