---
title: "CVE-2026-23500: Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration"
url: https://erroneo.us/security/cve/CVE-2026-23500/
description: "CVE-2026-23500 (dolibarr/dolibarr (Composer (PHP))): Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-17
date_modified: 2026-05-06
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-23500"
kev: false
cvss: 9.4
epss: 0.00922
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.9% , percentile 60: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 60% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (high (admin)). Exposure depends on who can log in.
- Only applies if your dependency tree includes dolibarr/dolibarr (Composer (PHP)) <= 22.0.4, no fixed version listed . Check your lockfile, including transitive dependencies.

## 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 MAINODTASPDF 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 packages

- Composer (PHP) `dolibarr/dolibarr` <= 22.0.4 → fixed: none listed

## Affected products (CVE record)

- Dolibarr dolibarr: < 23.0.0

## Severity

- GitHub_M CVSS 4.0: 9.4 `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 4.0: 9.4 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.92% probability of exploitation activity in the next 30 days; percentile 60.

## Sources

- [GitHub Advisory GHSA-w5j3-8fcr-h87w](https://github.com/advisories/GHSA-w5j3-8fcr-h87w)
- [CVE.org record CVE-2026-23500](https://www.cve.org/CVERecord?id=CVE-2026-23500)
- [NVD entry CVE-2026-23500](https://nvd.nist.gov/vuln/detail/CVE-2026-23500)
- [github.com](https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-w5j3-8fcr-h87w)
- [github.com](https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0)

---
Source page: https://erroneo.us/security/cve/CVE-2026-23500/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
