# CVE-2026-23500: Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T20:25:49.843Z
- Modified: 2026-06-17T10:21:42.067Z
- Also known as: GHSA-w5j3-8fcr-h87w
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Dolibarr dolibarr: < 23.0.0
- dolibarr/dolibarr (Packagist): up to 22.0.4
- dolibarr dolibarr_erp/crm: before 23.0.0

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `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`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-w5j3-8fcr-h87w> (exploit, vendor-advisory, web)
- <https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23500> (advisory)
- <https://github.com/Dolibarr/dolibarr> (package)

## Sources

- CVE List: [CVE-2026-23500](https://www.cve.org/CVERecord?id=CVE-2026-23500), CVE Terms of Use, modified 2026-04-18
- GitHub Advisory Database: [GHSA-w5j3-8fcr-h87w](https://github.com/advisories/GHSA-w5j3-8fcr-h87w), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-23500](https://nvd.nist.gov/vuln/detail/CVE-2026-23500), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23500 · Whole record: https://cve.day/CVE-2026-23500.json · Rebuilt by cve.day 2026-11-25T22:59:18.963Z
