CVE-2026-37712 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/cron/class/cronjob.class.php, call_user_func_array() in function job type
A remote code execution vulnerability has been identified in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4, as well as in version 24.0.0-alpha. The issue arises from the cron job scheduler, where user-controlled input is passed directly to PHP's call_user_func_array() function without proper validation. This vulnerability allows an authenticated attacker to execute arbitrary code on the server.
It is recommended to implement a strict allowlist for method names when the job type is set to 'function', ensuring that only predefined Dolibarr functions can be called. Alternatively, the scheduler could be modified to only allow methods from explicitly instantiated Dolibarr classes, preventing direct execution of global PHP functions.
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] | BundleExploitRemedyTechnical Analysis |
| https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-c2jp-w9cj-6cx4 | [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