Dolibarr ERP/CRM CVE-2026-37712
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Dolibarr 22.0.x instance
-
DeliveryAccess cron job configuration UI
-
ExploitCreate function-type job with malicious callable
-
Executioncall_user_func_array() invokes attacker-chosen PHP function
-
PersistArbitrary code executes as web server user
-
ImpactPivot to data exfiltration or host foothold
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker can create or modify a Dolibarr cron job of the 'function' job type, which reaches the vulnerable call_user_func_array() sink in htdocs/cron/class/cronjob.class.php; the job must then execute (either on schedule or via manual trigger). The CVSS vector advertises PR:N/UI:N suggesting no authentication or user interaction is required, but the cron management interface is conventionally administrative in Dolibarr, so realistic exploitation likely requires either administrative credentials, a chained authentication bypass, or a misconfigured deployment that exposes cron management without authentication - defenders should verify the actual reachability via the GHSA advisory. Limiting factors include: only versions 22.0.0-22.0.4 and 24.0.0-alpha are affected, the cron subsystem must be enabled, and the function job type must not have been disabled or restricted. |
| Impact | Signals here are mixed and worth reconciling. CVSS 7.3 with AV:N/AC:L/PR:N/UI:N implies a fully unauthenticated remote attack on default deployments, yet the affected code path is the cron job dispatcher - cron job configuration in Dolibarr is normally restricted to administrative users, so the PR:N rating likely overstates real-world reachability and the description does not confirm an unauthenticated trigger path. SSVC reports Exploitation:none and EPSS is only 0.06% (18th percentile), confirming no public exploitation has been observed, while SSVC's Automatable:yes plus Technical Impact:partial suggest that once a working chain is published it would scale easily across internet-exposed Dolibarr instances. The Dolibarr GHSA security advisory is the authoritative source and should be consulted to confirm the actual privilege requirement before treating this as an unauthenticated RCE; pending that confirmation, treat as a high-priority authenticated-admin RCE with elevated urgency for internet-exposed instances. |
| Exploit ScenarioDerived | An attacker with access to the Dolibarr cron job configuration interface creates or edits a job of the 'function' type, supplying a sensitive PHP function name (such as system, exec, or assert) and crafted arguments that get passed to call_user_func_array(), achieving arbitrary PHP execution under the web server user once the cron triggers or the job is run manually. If the PR:N CVSS rating reflects a reachable unauthenticated endpoint rather than an admin-only path, an internet-borne attacker could weaponize this directly against exposed Dolibarr installations; no public exploit is identified at time of analysis but SSVC rates the issue automatable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Remote code execution in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha stems from unsafe use of PHP's call_user_func_array() within the cron job class, enabling attackers to execute arbitrary PHP code on the application server. The vulnerability carries CVSS 7.3 with CWE-94 (Code Injection) classification, and while no public exploit is identified at time of analysis, a security researcher writeup referenced from NVD discusses a five-year history of related dol_eval issues in Dolibarr suggesting recurring weaknesses in this code area. EPSS probability is very low at 0.06% and SSVC reports no observed exploitation, but the issue is rated automatable with partial technical impact.
RemediationAI
Upgrade to a fixed release as listed in the Dolibarr GHSA advisory at https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-c2jp-w9cj-6cx4 - no exact fix version was provided in the input data, so administrators should consult that advisory directly to identify the patched 22.0.x release and skip the 24.0.0-alpha pre-release. Patch status: upstream fix available per the vendor security advisory; an exact released patched version is not independently confirmed from the provided data. As a compensating control until upgrade, restrict access to the cron management UI (htdocs/cron/*) to a hardened admin allowlist via web server ACLs or reverse-proxy rules, disable or remove the 'function' job type if cron jobs of type 'command' or 'method' suffice for your workflows (trade-off: any existing function-type jobs stop running), and audit existing cron jobs for unexpected function names or arguments. Avoid exposing the Dolibarr admin interface to the public internet; place it behind a VPN or IP allowlist while patching is scheduled. Review the referenced researcher writeup at https://bryamzxz.github.io/2026/05/25/dol_eval-five-years/ for related dol_eval sinks that may warrant additional hardening.
Affected ProductsAI
Dolibarr ERP/CRM stable branch versions 22.0.0, 22.0.1, 22.0.2, 22.0.3, and 22.0.4 are affected, along with the pre-release 24.0.0-alpha. No CPE strings were provided in the input data. The vendor security advisory is published at https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-c2jp-w9cj-6cx4 and should be consulted for the canonical affected-version list and fix tags.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dolibarr is a widely-deployed open-source PHP-based ERP/CRM platform used by SMBs for accounting, inventory, sales, and HR workflows. The flaw resides in htdocs/cron/class/cronjob.class.php, which dispatches scheduled jobs through PHP's call_user_func_array() - a dynamic invocation primitive that executes the callable named by its first argument. CWE-94 (Improper Control of Generation of Code) applies because user- or configuration-supplied data feeding the 'function job type' is reachable by the callable dispatch without sufficient allowlisting, letting an attacker name arbitrary PHP functions and pass arbitrary arguments. The referenced researcher post titled 'dol_eval-five-years' indicates this is part of a recurring pattern in Dolibarr's evaluation/dispatch surface rather than an isolated bug.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
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
Executive ViewAI
Dolibarr ERP/CRM versions 22.0.0-22.0.4 and 24.0.0-alpha are vulnerable to remote code execution (CVE-2026-37712, CVSS 7.3) without an available patch, putting affected systems at risk of data theft and complete compromise. No active exploitation has been reported, but immediate mitigation-either operational controls or version upgrade-is required to reduce risk. Organizations running these versions should prioritize this remediation as a critical security initiative.
No vendor-released patch identified at time of analysis. Interim mitigations: disable cron-based job execution or restrict to authenticated scheduled maintenance windows; implement network segmentation to limit sources that can trigger the vulnerable cron class; enable PHP error and execution logging to detect code injection attempts; apply least-privilege access controls to cron job scheduler accounts; monitor Dolibarr security advisories for patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB