Skip to main content

Dolibarr ERP EUVDEUVD-2026-24135

| CVE-2026-31019 HIGH
OS Command Injection (CWE-78)
2026-04-21 mitre GHSA-j2g9-rprv-hrhc
8.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid credentials
  2. Delivery
    Access Website module editor
  3. Exploit
    Inject blacklist-bypassing PHP payload
  4. Execution
    Trigger code execution
  5. Persist
    Execute OS commands
  6. Impact
    Establish persistence

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

Authenticated access with low-level privileges (PR:L) that specifically include permission to edit PHP content within the Website module. Not all authenticated users can exploit this - only those explicitly granted Website module editing rights through Dolibarr's role-based access control. Exploitation requires the Website module to be enabled in the Dolibarr installation; organizations that have not activated this module are not vulnerable. Network access to the Dolibarr web interface is required (AV:N), but no user interaction is needed once credentials are obtained (UI:N). Attack complexity is low (AC:L) as the blacklist bypass techniques are well-documented in the public POC. Limiting factors: requires prior credential compromise or insider access, knowledge of specific blacklist bypass methods for PHP, and the target must have the Website module activated with permissive role assignments.

Impact

Real-world risk is significant but targeted. CVSS 8.8 (High) accurately reflects the severe impact - complete system compromise (C:H/I:H/A:H) - but the PR:L requirement limits exposure to authenticated users with specific content editing permissions, not all authenticated users. SSVC framework confirms total technical impact but notes exploitation is not automatable, requiring credential acquisition and knowledge of the blacklist bypass technique. The public POC on GitHub lowers the skill barrier for exploitation, though absence from CISA KEV suggests attacks remain targeted rather than widespread. Primary risk exists in environments where lower-privilege users have Website module access, multi-tenant SaaS deployments, or compromised accounts. Organizations without the Website module enabled or with strict role-based access controls face reduced risk despite the high CVSS score. Key unknown: whether the blacklist bypass requires specific PHP configuration settings or works across all standard PHP environments.

Exploit ScenarioDerived

An attacker compromises a low-privilege Dolibarr account with Website module editing permissions through credential theft or social engineering. They navigate to the Website module's PHP content editor and insert malicious code designed to bypass the blacklist filter, such as using the backtick operator, variable functions, or obfuscated exec() calls. Upon saving and triggering the PHP code execution (through page rendering or preview), the injected payload executes arbitrary OS commands with the web server's privileges, allowing the attacker to establish persistent access, exfiltrate database contents including customer and financial records, pivot to other internal systems, or deploy ransomware. Public POC code on GitHub provides ready-made exploit templates.

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 – Apr 21, 2026

Remote code execution in Dolibarr ERP 22.0.4 and earlier allows authenticated users with PHP content editing permissions to execute arbitrary OS commands on the server. The vulnerability stems from a bypassable blacklist-based filter for dangerous PHP functions in the Website module. Attack complexity is low (CVSS AV:N/AC:L/PR:L), requiring only valid low-privilege credentials. Public proof-of-concept code exists on GitHub, though CISA has not confirmed active exploitation. EPSS data is unavailable, but SSVC assessment indicates total technical impact with no current exploitation evidence.

RemediationAI

Upgrade to Dolibarr ERP version 22.0.5 or later once the vendor releases a patched version addressing the blacklist bypass. As of this analysis, vendor advisory at dolibarr.com should be consulted for exact fixed version availability. Until patches are deployed, implement these compensating controls: (1) Audit and restrict Website module permissions to only essential administrative users through the Dolibarr permission system - this significantly reduces attack surface but impacts users who legitimately need to edit web content. (2) Disable the Website module entirely if not business-critical - this eliminates the attack vector but removes all website publishing functionality. (3) Deploy web application firewall rules to detect and block PHP command execution patterns in POST requests to Website module endpoints - effectiveness depends on WAF signature coverage and may generate false positives with legitimate PHP code. (4) Enable PHP's disable_functions directive at the server level to block shell execution functions globally - this provides defense-in-depth but may break legitimate application features and requires PHP configuration access. None of these workarounds fully address the underlying code vulnerability.

Affected VersionsENISA

n/a n/a

Affected Packages

composer dolibarr/dolibarr no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

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

Technical ContextAI · show details

This vulnerability affects the Website module in Dolibarr ERP & CRM, an open-source business management application written in PHP. The root cause is CWE-78 (OS Command Injection), where the application attempts to sanitize user-supplied PHP code by blacklisting dangerous functions like system(), exec(), shell_exec(), and similar command execution primitives. Blacklist-based filtering is inherently insecure because attackers can use alternative methods to execute commands: PHP backtick operators, proc_open(), pcntl_exec(), assert() with dynamic code, or obfuscation techniques like variable functions and string concatenation. Since users with Website module editing rights can inject arbitrary PHP code into templates or pages, bypassing the incomplete blacklist provides full server-side code execution with the web server's privileges.

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

Vendor (mitre) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

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

Lifecycle Timeline

2
CVSS changed
Apr 21, 2026 - 19:22 NVD
8.8 (None) 8.8 (HIGH)
CVE Published
Apr 21, 2026 - 00:00 nvd
HIGH 8.8

DescriptionCVE.org

In the Website module of Dolibarr ERP & CRM 22.0.4 and below, the application uses blacklist-based filtering to restrict dangerous PHP functions related to system command execution. An authenticated user with permission to edit PHP content can bypass this filtering, resulting in full remote code execution with the ability to execute arbitrary operating system commands on the server.

Executive ViewAI

Why It Matters

Dolibarr ERP versions 22.0.4 and earlier contain a remote code execution vulnerability affecting any organization with deployed instances and users holding PHP content editing permissions in the Website module. Authenticated attackers with low-privilege credentials can bypass security filters to execute arbitrary commands on production servers, creating direct risk to data confidentiality, integrity, and availability across all business-critical ERP functions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Remove or restrict PHP content editing permissions to zero users until patch available; (2) Disable Website module if not operationally required; (3) Implement network segmentation restricting access to Dolibarr instance from trusted administrative networks only; (4) Enable and monitor detailed audit logging for Website module access and PHP content modifications; (5) Conduct code review of any existing PHP content prior to patch availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 65% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

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