Remote Code Execution Vulnerability in Dolibarr ERP Software
CVE-2026-23500
9.4CRITICAL
What is CVE-2026-23500?
Dolibarr, an ERP and CRM software, is susceptible to a serious vulnerability due to improper handling of the ODT to PDF conversion process. In versions prior to 23.0.0, this process directly incorporates the MAIN_ODT_AS_PDF configuration constant into a shell command executed via 'exec()' without appropriate sanitization. This allows an authenticated administrator to inject arbitrary operating system commands using command separators, leading to potential remote code execution under the web server user context anytime an ODT template is generated. To mitigate this risk, users are strongly advised to upgrade to version 23.0.0 or later.
Affected Version(s)
dolibarr < 23.0.0
