PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-22666 Dolibarr CVE debrief

CVE-2026-22666 is an authenticated remote code execution vulnerability in Dolibarr ERP/CRM versions prior to 23.0.2. The vulnerability exists in the dol_eval_standard() function, which 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(). Defenders should prioritize upgrading to a patched version and review exposure.

Vendor
Dolibarr
Product
Dolibarr ERP/CRM
CVSS
HIGH 8.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-07
Original CVE updated
2026-07-14
Advisory published
2026-04-07
Advisory updated
2026-07-14

Who should care

Administrators and users of Dolibarr ERP/CRM versions prior to 23.0.2 should be aware of this vulnerability and take immediate action to upgrade to a patched version. Operators, platform administrators, vulnerability management teams, and security teams should review exposure, plan mitigations, and monitor for suspicious activity.

Technical summary

The dol_eval_standard() function in Dolibarr ERP/CRM versions prior to 23.0.2 does not properly validate user input, allowing attackers with administrator privileges to inject malicious payloads and execute arbitrary code via eval(). This vulnerability is particularly concerning as it requires only administrator privileges, making it a high-risk issue for organizations using affected versions. Affected product deployments should be identified and owners assigned for follow-up.

Defensive priority

High

Recommended defensive actions

  • Upgrade to Dolibarr ERP/CRM version 23.0.2 or later
  • Restrict access to the Dolibarr ERP/CRM application to only trusted users
  • Monitor the application for suspicious activity
  • Consider implementing additional security controls, such as web application firewalls or intrusion detection systems
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record was published on 2026-04-07T13:16:45.200Z and was last modified on 2026-07-14T16:16:50.770Z. The NVD entry is currently Analyzed. Evidence is limited to CVE and NVD information. Defenders should verify affected versions, upgrade paths, and exposed deployments.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-04-07T13:16:45.200Z and has not been modified since then. The NVD entry is currently Analyzed.