CVE-2026-23500
CRITICALDolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-23500. PoCs published by lukasz-rybak.
AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2026-23500, demonstrating an OS command injection vulnerability in Dolibarr. The exploit leverages the `MAIN_ODT_AS_PDF` configuration to execute arbitrary commands via a reverse shell payload.
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.
Exploits (1)
This repository contains a functional proof-of-concept exploit for CVE-2026-23500, demonstrating an OS command injection vulnerability in Dolibarr. The exploit leverages the `MAIN_ODT_AS_PDF` configuration to execute arbitrary commands via a reverse shell payload.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H