CVE-2026-23500CWE-78

Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration

Critical · published April 17, 2026

CVSS v4.0
9.4
EPSS
1%
Percentile
59.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS
0.00922 · 59.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-17T20:25Z
EPSS history
Timeline
  • 17 APR 20:25Z
    Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration
    cvelistv5