CVE-2026-22666Dolibarr ERP/CRM Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection)
NVD
Vulnerability Summary
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 Base Metrics — Score 8.6 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredHigh
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.2)
CVSS v3.1 Base Metrics — Score 7.2 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Dolibarr ERP/CRM < 23.0.2
- Dolibarr ERP/CRM 23.0.2
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Dolibarr ERP/CRM and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Apr 7, 2026Published
- Nov 8, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Dolibarr ERP/CRM CVEsYou are reading CVE-2026-22666. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore Dolibarr ERP/CRM CVEs
External References
- Exploithttps://jivasecurity.com/writeups/dolibarr-remote-code-execution-cve-2026-22666
- Vendor Advisoryhttps://github.com/Dolibarr/dolibarr/security/advisories/GHSA-vmvw-qq8w-wqhg
- Patchhttps://github.com/Dolibarr/dolibarr/commit/6f425521b3e6f9f27eca05228e02093dbaa40dea
- Referencehttps://github.com/Dolibarr/dolibarr/releases/tag/23.0.2
- Referencehttps://www.vulncheck.com/advisories/dolibarr-erp-crm-authenticated-rce-via-dol-eval-standard
Data last checked: Nov 23, 2026 00:18 UTC