CVE-2026-37712

Published May 27, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

An insecure use of call_user_func_array inside Dolibarr’s cronjob handler allows a remote attacker to execute arbitrary PHP code when a cron job is triggered. The flaw resides in htdocs/cron/class/cronjob.class.php and permits injection of arbitrary function calls with user-supplied arguments, resulting in complete compromise of the affected system.

Affected Systems

Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and the 24.0.0‑alpha release are susceptible. The vulnerability exists within the core cronjob module of the product, which is normally accessed via web requests or scheduled cron triggers.

Risk and Exploitability

The CVSS score is 7.3 and the EPSS is < 1%, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, because the flaw permits arbitrary code execution from a remote request, the risk is considered high. An attacker would need to exploit an exposed cron job endpoint or invoke the cron scheduler, suggesting a remote attack vector that can be accessed over the network if the application is reachable. No specific exploitation prerequisites are stated in the description, implying that a public-facing instance of Dolibarr could be vulnerable if it accepts cron job requests from untrusted sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dolibarr to the latest released version that includes the cronjob fix.
  • If an immediate upgrade is not possible, edit htdocs/cron/class/cronjob.class.php to remove the call_user_func_array usage and restrict function execution to a vetted whitelist.
  • Limit public access to the cron job interface by implementing IP whitelisting or other access controls so that only authorized internal users can trigger cron jobs.

Generated by OpenCVE AI on May 28, 2026 at 18:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Arbitrary Code Execution in Dolibarr ERP/CRM Through Unvalidated Dynamic Function Calls
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dolibarr
Dolibarr dolibarr
Vendors & Products Dolibarr
Dolibarr dolibarr
Type Values Removed Values Added
Title Arbitrary Code Execution in Dolibarr ERP/CRM Through Unvalidated Dynamic Function Calls
Weaknesses CWE-94
Type Values Removed Values Added
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
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 28, 2026, 3:56 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
May 27, 2026, 3:16 PM
Modified
Jun 17, 2026, 10:41 AM