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…
EPSS 15.5%top 3.5%

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: 04/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 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
=0<23.0.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 11:02:32 UTC

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.

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: 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 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