Skip to main content

Dolibarr ERP & CRM CVE-2026-31018

| EUVDEUVD-2026-24134 HIGH
Code Injection (CWE-94)
2026-04-21 mitre GHSA-676v-wh57-p375
8.8
CVSS 3.1 · Vendor: mitre
Share

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

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Re-analysis Queued
Apr 23, 2026 - 16:27 vuln.today
cvss_changed
Analysis Generated
Apr 21, 2026 - 16:26 vuln.today
CVSS changed
Apr 21, 2026 - 16:22 NVD
8.8 (HIGH)
EUVD ID Assigned
Apr 21, 2026 - 14:30 euvd
EUVD-2026-24134
Analysis Generated
Apr 21, 2026 - 14:30 vuln.today
CVE Published
Apr 21, 2026 - 00:00 nvd
HIGH 8.8

DescriptionCVE.org

In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module is not applied consistently to all input parameters, allowing an authenticated user restricted to HTML/JavaScript editing to inject PHP code through unprotected inputs during website page creation.

AnalysisAI

Authenticated users with restricted HTML/JavaScript editing permissions in Dolibarr ERP & CRM 22.0.4 and earlier can escalate privileges to execute arbitrary PHP code via the Website module. The vulnerability exploits inconsistent permission enforcement across input parameters during website page creation, allowing low-privileged authenticated users to bypass intended restrictions and inject PHP code. Public proof-of-concept exists on GitHub (PhDg1410), though no active exploitation is confirmed by CISA KEV. EPSS data unavailable, but the CVSS 8.8 score reflects high impact across confidentiality, integrity, and availability when exploited by authenticated insiders or compromised accounts.

Technical ContextAI

Dolibarr is an open-source ERP and CRM platform written in PHP, widely used by SMEs for business management. The Website module allows users to create and edit web pages with varying permission levels-some users are restricted to HTML/JavaScript editing while others can edit PHP code. This vulnerability stems from CWE-94 (Improper Control of Generation of Code), where the application fails to consistently apply permission checks across all input parameters during page creation. While the primary editing interface enforces restrictions, alternative or secondary input vectors (likely form parameters, AJAX endpoints, or API calls) bypass these checks. The CPE string provided is generic (n/a:n/a), indicating NVD has not yet cataloged specific version ranges-affected versions are derived solely from the researcher's disclosure stating versions through 22.0.4. The PHP code injection occurs server-side, meaning successful exploitation grants the attacker the ability to execute arbitrary PHP with the web server's privileges, typically leading to full application compromise.

RemediationAI

Primary mitigation is upgrading to a patched version of Dolibarr if available-check the official Dolibarr GitHub repository (github.com/Dolibarr/dolibarr) security advisories and release notes for versions newer than 22.0.4 that address this PHP code injection flaw. No specific fix version was confirmed in the provided data, so verify directly with vendor sources. Until patching, implement these compensating controls with noted trade-offs: (1) Disable the Website module entirely if not business-critical-this eliminates the attack surface but removes website management functionality. (2) Restrict Website module access to only fully-trusted administrator accounts by modifying user permissions in Setup > Users-reduces insider threat risk but limits content management workflows. (3) Implement application-layer firewall rules (ModSecurity, NAXSI) to detect and block PHP code patterns in POST requests to Website module endpoints-may cause false positives requiring tuning and does not prevent exploitation via authenticated sessions. (4) Enable PHP disable_functions in php.ini to restrict dangerous functions (system, exec, passthru, shell_exec, proc_open) for the Dolibarr web directory-reduces impact of successful PHP injection but may break legitimate application features requiring testing. (5) Deploy file integrity monitoring (AIDE, Tripwire) to detect unauthorized PHP file modifications in the Dolibarr documents and website directories-provides detection but not prevention. Review the proof-of-concept details at github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.md to understand specific exploitation vectors and tailor defenses accordingly.

More in PHP

View all
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-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

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-31018 vulnerability details – vuln.today

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