CVE-2026-23500

CRITICAL

Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration

Title source: cna
STIX 2.1

Exploitation 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)

nomisec WORKING POC
by lukasz-rybak · poc
https://github.com/lukasz-rybak/CVE-2026-23500

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.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Dolibarr <= 22.0.4
Auth required
Prerequisites: Administrator access to Dolibarr · Commercial Proposals module enabled · ODT templates activated
devstral-2 · analyzed Apr 28, 2026 Full analysis →

References (2)

Core 2
Core References

Scores

CVSS v3 9.1
EPSS 0.0017
EPSS Percentile 37.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (3)
dolibarr/dolibarr 0 - 22.0.4Packagist
Dolibarr/dolibarr < 23.0.0
dolibarr/dolibarr_erp\/crm < 23.0.0
Published Apr 17, 2026
Tracked Since Apr 18, 2026