OS Command Injection in dolibarr - CVE-2026-23500
Published: April 20, 2026
dolibarr
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary operating system commands.
The vulnerability exists due to command injection in htdocs/includes/odtphp/odf.php when converting ODT documents to PDF using the MAIN_ODT_AS_PDF configuration constant. A remote privileged user can inject a malicious command path into the configuration value to execute arbitrary operating system commands.
Exploitation requires the Commercial Proposals module and ODT templates to be enabled.