Paper/Archive/CVE-2026-23500

CVE-2026-23500

Dolibarr dolibarr — Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration

Description · from the CVE record

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

ProductAffectedFixed inSource
dolibarr< 23.0.0–CNA

Scores by source

GitHub_M (CNA)9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/Dolibarr/dolibarr/security/advisories/GHSA-w5j3-8fcr-h87wrefgithub.com/Dolibarr/dolibarr/releases/tag/23.0.0