Skip to main content
← All vulnerabilities
CVE-2026-23500GHSA-W5J3-8FCR-H87W

Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 23.0.0
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Dolibarr dolibarr

    fixed in 23.0.0

  • dolibarr/dolibarrPackagist

    through 22.0.4

References 3

GitHub · Dolibarr/dolibarr

GitHub · lukasz-rybak/CVE-2026-23500