Skip to main content

Dolibarr ERP/CRM CVE-2026-37712

HIGH
Code Injection (CWE-94)
2026-05-27 cve@mitre.org
7.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Dolibarr 22.0.x instance
  2. Delivery
    Access cron job configuration UI
  3. Exploit
    Create function-type job with malicious callable
  4. Execution
    call_user_func_array() invokes attacker-chosen PHP function
  5. Persist
    Arbitrary code executes as web server user
  6. Impact
    Pivot 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 7.3 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
CVSS changed
May 28, 2026 - 17:22 NVD
7.3 (HIGH)
CVE Published
May 27, 2026 - 15:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 82% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy