CVE-2026-37711 Details
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
A vulnerability allowing remote code execution has been identified in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4, as well as in version 24.0.0-alpha under certain conditions. The issue arises from the use of the 'dol_eval()' function, which is a wrapper around PHP's 'eval()' that evaluates dynamic expressions. This vulnerability is present in the 'htdocs/core/actions_addupdatedelete.inc.php' file, where user-controlled input can be injected into the 'perms' attribute of extrafields. An administrator can exploit this by storing a PHP expression in the database, which is then executed when the corresponding business object is updated or fetched.
The recommended fix is to remove the 'dol_eval()' usage in the 'actions_addupdatedelete.inc.php' file and replace it with a safer, purpose-built expression evaluator that does not rely on 'eval()'. Additionally, an audit of the 'llx_extrafields.perms' and 'llx_extrafields.fieldcomputed' columns for unexpected PHP-like content is advised.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2026CISA-ADP
Assessed May 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bryamzxz.github.io/2026/05/25/dol_eval-five-years/ | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-grw9-6m4w-mhcq | [email protected] | AdvisoryBroken LinkVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Dolibarr | >= 22.0.0, <= 22.0.4 (semver) 24.0.0-alpha (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | New CVE Received | [email protected] |
Volerion