CVE-2026-37713 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/class/commonobject.class.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 'dol_eval()' function, which is a wrapper around PHP's 'eval()' and is used to evaluate dynamic expressions throughout the application. In the affected versions, an administrator can inject PHP code into specific database fields, which is then executed when the application processes those fields. This vulnerability can be exploited by chaining it with another vulnerability in the same application that allows execution of operating system commands.
To address this vulnerability, Dolibarr should replace the 'dol_eval()' function with a safer, purpose-built expression evaluator that does not use PHP's 'eval()'. Additionally, the application should implement a strict allowlist for method names in scheduled jobs to prevent unauthorized command execution.
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 28, 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] | BundleTechnical Analysis |
| https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-cq92-jp5j-rwvj | [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 28, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | New CVE Received | [email protected] |
Volerion