Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid credentials
-
DeliveryAccess Website module editor
-
ExploitInject blacklist-bypassing PHP payload
-
ExecutionTrigger code execution
-
PersistExecute OS commands
-
ImpactEstablish 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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
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.
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
EUVD-2026-24135
GHSA-j2g9-rprv-hrhc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB