Skip to main content

Dolibarr ERP CRM CVE-2026-116219

| EUVDEUVD-2026-109811 HIGH
OS Command Injection (CWE-78)
2026-10-26 VulnCheck GHSA-3p5c-r87q-62gc
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Dolibarr administrator
  2. Delivery
    Open admin database export tool
  3. Exploit
    Submit mysqldump value with '&'-chained commands around allowlisted basename
  4. Execution
    Bypass restrict_os_commands allowlist
  5. Impact
    Execute arbitrary OS commands as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Dolibarr administrator (PR:H) with access to the admin database export/backup tool at htdocs/admin/tools/export.php. The attacker supplies a malicious 'mysqldump' command value; even though the restrict_os_commands feature enforces a basename allowlist, pre-patch code only ran dol_sanitizePathName and did not strip shell metacharacters, so commands chained with '&' around an allowlisted basename pass the check and execute. Limiting factors: administrative authentication is mandatory, exploitation operates through the export feature path, resulting commands run only with the web server user's privileges (no scope change to other systems), and versions 24.0.0 and later apply dol_string_nospecial sanitization that removes | ; < > & + and blocks the technique.

Impact

This is a genuine but conditional risk that the signals consistently rate as important-not-urgent rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H/VA:H) scores 8.6 (High) and correctly reflects the core limiter: PR:H means exploitation requires high privilege - specifically an authenticated Dolibarr administrator - so this is a post-authentication privilege-to-OS escalation, not an internet-facing unauthenticated RCE. Once that bar is met, attack complexity is low and impact is full (arbitrary command execution as the web server user). The vuln.today decision label is 'this_week', consistent with a serious issue carrying a non-trivial precondition. No EPSS score, no CISA KEV listing, and no confirmed public exploit code were supplied, so there is no evidence of active or at-scale exploitation; exploitation status is best read as no public exploit identified at time of analysis. The practical risk is therefore highest in multi-user Dolibarr deployments where 'administrator' is a shared or loosely governed role, or where an attacker can first phish/compromise an admin account - in those settings a merely-administrative actor converts into OS code execution and a host foothold. A single all-powerful admin with no other users gains comparatively little new capability. No signals conflict here; the main caveat is the absence of EPSS/KEV/PoC data, which limits confidence about real-world exploitation frequency.

Exploit ScenarioDerived

An attacker who already holds (or has phished/hijacked) a Dolibarr administrator session opens the database export tool and submits a crafted 'mysqldump' value that wraps an allowlisted command basename with '&'-chained shell commands, defeating the restrict_os_commands allowlist. When Dolibarr runs the backup, the injected commands execute as the web server user, giving the attacker arbitrary OS command execution on the host. No confirmed public exploit code was provided, though VulnCheck published an advisory and the vulnerable source lines are referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 2.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 26, 2026

Authenticated Dolibarr administrators can run arbitrary operating-system commands as the web server user through the database export tool (htdocs/admin/tools/export.php) in every release before 24.0.0, because the restrict_os_commands allowlist can be bypassed by injecting a crafted mysqldump value. The attacker must already hold administrator rights (CVSS 4.0 base 8.6; assessed CVSS 3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) and exploitation is confined to the web server user's privileges, so there is no scope change to other systems; there is no CISA KEV entry and no public exploit identified at time of analysis, and the vendor rates the fix as this-week rather than emergency priority.

RemediationAI

Upgrade to Dolibarr ERP CRM 24.0.0 or later, which is the first release containing upstream commit e4c593e0f9f109dd708be0f1d62a51712d36823a; that change applies dol_string_nospecial with the blacklist |, ;, <, >, &, + to the mysqldump command value in htdocs/admin/tools/export.php both before and after the export/validation step, and is the vendor-released fix (patch status: available from vendor). Confirm the applied code by checking that both sanitization calls, not just dol_sanitizePathName, are present in the deployed export.php, since the pre-patch allowlist enforced by restrict_os_commands is demonstrably insufficient on its own. The published references - the commit above, the pre-fix source at https://github.com/Dolibarr/dolibarr/blob/23.0.3/htdocs/admin/tools/export.php#L129-L154 and https://github.com/Dolibarr/dolibarr/blob/23.0.3/htdocs/core/class/utils.class.php#L322-L327, and the VulnCheck advisory at https://www.vulncheck.com/advisories/dolibarr-erp-crm-before-24.0.0-os-command-injection-via-mysqldump-parameter - do not document a supported configuration workaround, so no alternative to upgrading is stated here; note that exploitation requires administrator credentials and yields only web server user privileges, which bounds but does not eliminate the exposure for installations that cannot patch immediately.

Affected VersionsENISA

dolibarr 0 <24.0.0

Affected Packages

euvd dolibarr fix: 24.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dolibarr is a PHP-based ERP/CRM suite whose administrative database backup page builds a shell command around a configurable mysqldump executable path. The application ships a restrict_os_commands feature intended to constrain which binaries may be invoked, validating the command by its basename. Before the fix, the value was only passed through dol_sanitizePathName, which normalises path characters but does not remove shell metacharacters, so an administrator could wrap an allowlisted basename with '&' separators and have the extra commands interpreted by the shell - a classic CWE-78 improper neutralization of special elements in an OS command. The upstream commit e4c593e0f9f109dd708be0f1d62a51712d36823a closes this by applying dol_string_nospecial with a character blacklist of |, ;, <, >, & and + to the command value, and it adds the same sanitization a second time later in the export flow (around line 178 of export.php), covering both the validation and execution code paths. Because the 4.0 vector carries AT:N and S:U, the flaw is neither attack-path dependent nor scope-changing; the practical ceiling of the impact is full confidentiality, integrity and availability loss within the Dolibarr host under the web server account.

Know when Dolibarr 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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.2 HIGH

Administrator authentication is required so PR:H; network-reachable admin tool with no user interaction and straightforward injection gives AV:N/AC:L/UI:N; command execution yields full C/I/A, scope unchanged.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Dolibarr ERP CRM before 24.0.0 contains an OS command injection vulnerability in htdocs/admin/tools/export.php that lets authenticated administrators bypass the restrict_os_commands allowlist. Attackers can submit a mysqldump value chaining commands with & characters around an allowlisted basename to execute operating system commands as the web server user.

Executive ViewAI

Why It Matters

CVE-2026-116219 is a high-severity vulnerability in Dolibarr ERP/CRM that permits authenticated administrators to execute arbitrary operating system commands as the web server user via the database export tool. Although exploitation requires existing administrative access, the potential for full compromise of the web server and its data means leadership should prioritize remediation. No active exploitation has been observed, but the availability of a patch warrants immediate action.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
2.1%
Top 19% exploitable
Prevalence
Medium
popular open-source ERP/CRM for SMBs, moderate production footprint
Data Quality
3 sources
Confidence: Low

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 2.1%
Patch available Yes
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2023-38886 HIGH POC
7.2 Sep 20

An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra

CVE-2023-30253 HIGH POC
8.8 May 29

Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea

CVE-2017-7886 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit

CVE-2023-38888 CRITICAL POC
9.6 Sep 20

Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive

CVE-2017-7888 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s

CVE-2022-4093 CRITICAL POC
9.8 Nov 21

SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe

CVE-2022-43138 CRITICAL POC
9.8 Nov 17

Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra

CVE-2022-40871 CRITICAL POC
9.8 Oct 12

Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2021-33816 CRITICAL POC
9.8 Nov 10

The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha

CVE-2020-7995 CRITICAL POC
9.8 Jan 26

The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem

CVE-2018-10094 CRITICAL POC
9.8 May 22

SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute arbitrary SQL commands via vecto

CVE-2018-25357 CRITICAL POC
9.3 May 23

Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute

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