CVE-2026-23500
CriticalSummary
Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. In versions prior to 23.0.0, the ODT to PDF conversion process in odf.php concatenates the MAIN_ODT_AS_PDF configuration constant directly into a shell command passed to exec() without sanitization.
Risk Assessment
The risk involves the ability for an authenticated administrator to inject arbitrary OS commands, leading to remote code execution as the web server user. This poses a significant security threat to the system.
Recommendation
It is recommended to upgrade to version 23.0.0 or later to mitigate this vulnerability. Additionally, conducting a security audit to identify potential threats is advisable.
Other vulnerabilities in Dolibarr ERP/CRM
See all- CVE-2026-116218High
Dolibarr ERP CRM 19.0.0 before 23.0.4 contains an SQL injection vulnerability that allows authenticated API users to inject SQL via the type field of the third-party bankaccounts REST endpoint. Attackers with only societe/creer permission can break out of the unescaped type value in CompanyBankAccount::create() to read password hashes and API keys via time-based blind subqueries.
- CVE-2026-37713High
An issue in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/core/class/commonobject.class.php.
- CVE-2026-37712High
An issue in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/cron/class/cronjob.class.php, in the call_user_func_array() function.
- CVE-2026-37711High
An issue in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/core/actions_addupdatedelete.inc.php.
- CVE-2017-17898High
Dolibarr ERP/CRM version 6.0.4 does not block direct requests to *.tpl.php files, allowing remote attackers to obtain sensitive information.
- CVE-2017-9840High
Dolibarr ERP/CRM version 5.0.3 and prior allows low-privilege users to upload files of dangerous types, which can result in arbitrary code execution within the context of the vulnerable application.
- CVE-2018-25357Critical
Dolibarr ERP CRM 7.0.3 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code through the db_name parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the db_name parameter, then execute commands via the check.php endpoint using the cmd GET parameter.
- CVE-2026-22666High
A vulnerability in Dolibarr ERP/CRM prior to version 23.0.2 allows authenticated attackers with administrator privileges to achieve remote code execution. The issue is in the dol_eval_standard() function, which fails to apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax.
- CVE-2023-38888Critical
A Cross Site Scripting (XSS) vulnerability in Dolibarr ERP CRM version 17.0.1 and earlier allows a remote attacker to obtain sensitive information and execute arbitrary code via the REST API module, related to analyseVarsForSqlAndScriptsInjection and testSqlAndScriptInject functions.
- CVE-2023-38886High
A vulnerability in Dolibarr ERP CRM version 17.0.1 and earlier allows a remote privileged attacker to execute arbitrary code via a crafted command or script.
Original NVD description (English source)
Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. In versions prior to 23.0.0 , the ODT to PDF conversion process in odf.php concatenates the MAIN_ODT_AS_PDF configuration constant directly into a shell command passed to exec() without sanitization. An authenticated administrator can inject arbitrary OS commands via this constant using command separators, achieving remote code execution as the web server user when any ODT template is generated. This issue has been fixed in version 23.0.0.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

