What’s Vulnerable › Vulnerabilities
CVE-2026-23500: Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-17 · updated 2026-06-17
- Weakness: CWE-78
Description
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.
Affected products
- dolibarr: before 23.0.0 — fixed in 23.0.0
How to fix
Upgrade to a fixed version: dolibarr 23.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0
- https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-w5j3-8fcr-h87w
Get alerted when CVE-2026-23500 or the next vulnerability affects your stack