CVE-2026-37711
Received Received - Intake
Remote Code Execution in Dolibarr ERP/CRM

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: MITRE

Description
An issue in Dolibarr ERP/CRM v.22.0.0 through v.22.0.4 and v.24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/core/actions_addupdatedelete.inc.php
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
dolibarr dolibarr From 22.0.0 (inc) to 22.0.4 (inc)
dolibarr dolibarr 24.0.0-alpha
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Detection Guidance

This vulnerability can be detected by identifying if your Dolibarr ERP/CRM installation is running versions v22.0.0 through v22.0.4 or v24.0.0-alpha, which are known to be affected.

Detection involves checking for the presence of the vulnerable file `htdocs/core/actions_addupdatedelete.inc.php` and the usage of the `dol_eval()` function within it.

You can search for the vulnerable code by running commands such as:

  • grep -r "dol_eval" /path/to/dolibarr/htdocs/core/actions_addupdatedelete.inc.php
  • grep -rl "actions_addupdatedelete.inc.php" /path/to/dolibarr/

Additionally, monitoring HTTP requests for suspicious payloads targeting the `perms` attribute of extrafields may help detect exploitation attempts.

Executive Summary

This vulnerability exists in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and version 24.0.0-alpha. It allows a remote attacker to execute arbitrary code by exploiting the file htdocs/core/actions_addupdatedelete.inc.php.

Impact Analysis

The vulnerability can allow a remote attacker to execute arbitrary code on the affected system. This could lead to unauthorized control over the system, data theft, data manipulation, or disruption of services.

Mitigation Strategies

Immediate mitigation steps include removing or disabling the use of the `dol_eval()` function in the vulnerable code path, specifically in `actions_addupdatedelete.inc.php`.

If possible, upgrade Dolibarr ERP/CRM to a version where this vulnerability is patched or apply a patch that replaces the dynamic evaluation with a safer server-side evaluation mechanism against a fixed grammar.

Restrict administrative access to trusted users only, as exploitation requires administrative privileges.

Monitor and block suspicious HTTP requests that attempt to inject code via the `perms` attribute of extrafields.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-37711. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart