Dolibarr
Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 23.0.0
Fixed in 23.0.0
Mitigation
Upgrade dolibarr to 23.0.0 or later.
References
- Vendor advisory github.com/Dolibarr/dolibarr/security/advisori…
- Release notes github.com/Dolibarr/dolibarr/releases/tag/23.0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| lukasz-rybak/CVE-2026-23500 | 11 Apr 2026 −6 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.