Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. dolibarr/dolibarr
  4. ›
  5. CVE-2026-23500

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

April 17, 2026 (updated May 6, 2026)

An authenticated administrator can execute arbitrary operating system commands by injecting a malicious payload into the MAIN_ODT_AS_PDF configuration constant. This vulnerability exists because the application fails to properly validate or escape the command path before passing it to the exec() function in the ODT to PDF conversion process.

References

  • github.com/Dolibarr/dolibarr
  • github.com/Dolibarr/dolibarr/releases/tag/23.0.0
  • github.com/Dolibarr/dolibarr/security/advisories/GHSA-w5j3-8fcr-h87w
  • github.com/advisories/GHSA-w5j3-8fcr-h87w
  • nvd.nist.gov/vuln/detail/CVE-2026-23500

Code Behaviors & Features

Detect and mitigate CVE-2026-23500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 22.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/dolibarr/dolibarr/CVE-2026-23500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 13 May 2026 12:22:17 +0000.