Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23500

CVE-2026-23500: Dolibarr ERP/CRM RCE Vulnerability

CVE-2026-23500 is a remote code execution flaw in Dolibarr ERP/CRM allowing authenticated admins to inject OS commands via ODT conversion. This article covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-23500 Overview

CVE-2026-23500 is a critical command injection vulnerability affecting Dolibarr, an open-source enterprise resource planning (ERP) and customer relationship management (CRM) software package. The vulnerability exists in the ODT to PDF conversion process within odf.php, where the MAIN_ODT_AS_PDF configuration constant is concatenated directly into a shell command passed to exec() without proper sanitization. An authenticated administrator can exploit this flaw by injecting arbitrary OS commands via command separators, achieving remote code execution as the web server user when any ODT template is generated.

Critical Impact

Authenticated administrators can achieve full remote code execution on the underlying server, potentially compromising the entire Dolibarr installation and any connected systems or databases.

Affected Products

  • Dolibarr ERP/CRM versions prior to 23.0.0
  • Dolibarr installations using ODT to PDF conversion functionality
  • Systems with the MAIN_ODT_AS_PDF configuration option enabled

Discovery Timeline

  • April 17, 2026 - CVE-2026-23500 published to NVD
  • April 20, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23500

Vulnerability Analysis

This vulnerability represents a classic OS command injection flaw (CWE-78) that arises from the improper neutralization of special elements used in an OS command. The odf.php file in Dolibarr handles the conversion of ODT (OpenDocument Text) templates to PDF format. During this process, the application constructs a shell command by directly concatenating the MAIN_ODT_AS_PDF configuration constant without applying any input validation or sanitization.

The attack requires administrative privileges, meaning the attacker must first obtain authenticated access to the Dolibarr administration interface. Once authenticated, the attacker can modify the MAIN_ODT_AS_PDF configuration value to include command separators (such as ;, |, &&, or backticks) followed by arbitrary system commands. When any user subsequently triggers an ODT to PDF conversion, the malicious payload executes in the context of the web server user.

Root Cause

The root cause of this vulnerability is insufficient input validation and the use of unsanitized user-controllable data in shell command construction. The MAIN_ODT_AS_PDF configuration constant, which can be modified by administrators through the Dolibarr interface, is passed directly to the PHP exec() function without escaping special shell characters or validating the input against an allowlist of acceptable values.

Proper remediation requires sanitizing the configuration value using functions like escapeshellarg() or escapeshellcmd(), or ideally, restructuring the code to avoid shell command execution entirely by using native PHP libraries for PDF conversion.

Attack Vector

The attack vector is network-based and requires prior authentication with administrative privileges. The attacker exploits the vulnerability by:

  1. Authenticating to the Dolibarr administrative interface
  2. Navigating to the configuration settings where MAIN_ODT_AS_PDF can be modified
  3. Injecting a malicious payload containing command separators and arbitrary commands
  4. Triggering an ODT template generation to execute the injected commands

The malicious payload executes with the privileges of the web server process (typically www-data, apache, or nginx), potentially allowing the attacker to read sensitive files, modify application data, establish persistence, or pivot to other systems on the network.

Detection Methods for CVE-2026-23500

Indicators of Compromise

  • Unusual modifications to the MAIN_ODT_AS_PDF configuration value containing shell metacharacters (;, |, &&, ||, backticks)
  • Unexpected process spawning from the web server process during ODT to PDF conversion operations
  • Anomalous network connections originating from the web server user account
  • Presence of unauthorized files in web-accessible directories or temporary folders

Detection Strategies

  • Monitor audit logs for changes to the MAIN_ODT_AS_PDF configuration setting, especially values containing special characters
  • Implement web application firewall (WAF) rules to detect command injection patterns in configuration submissions
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious child processes spawned by the PHP interpreter
  • Review web server access logs for unusual patterns related to ODT template generation endpoints

Monitoring Recommendations

  • Enable detailed logging for Dolibarr configuration changes and maintain audit trails for administrative actions
  • Configure SentinelOne Singularity Platform to monitor for behavioral indicators of command injection exploitation
  • Set up alerts for process execution chains where web server processes spawn unexpected shell commands
  • Regularly review the MAIN_ODT_AS_PDF configuration value as part of security configuration audits

How to Mitigate CVE-2026-23500

Immediate Actions Required

  • Upgrade Dolibarr to version 23.0.0 or later immediately, as this version contains the official fix for the vulnerability
  • Review the current MAIN_ODT_AS_PDF configuration value for any signs of tampering or malicious content
  • Audit administrative user accounts and remove unnecessary administrator privileges following the principle of least privilege
  • If upgrading is not immediately possible, consider temporarily disabling the ODT to PDF conversion functionality

Patch Information

The vulnerability has been addressed in Dolibarr version 23.0.0. The fix properly sanitizes the configuration input before it is used in shell command construction. Organizations should prioritize upgrading to this version or later. For detailed information about the fix and release notes, refer to the GitHub Release Note 23.0.0. Additional security details are available in the GitHub Security Advisory GHSA-w5j3-8fcr-h87w.

Workarounds

  • Disable the ODT to PDF conversion feature by removing or clearing the MAIN_ODT_AS_PDF configuration value until patching is complete
  • Implement network segmentation to restrict access to the Dolibarr administrative interface from trusted networks only
  • Deploy a web application firewall (WAF) with rules to block command injection patterns targeting the affected endpoint
  • Restrict administrative access to a minimal set of trusted users and enforce multi-factor authentication (MFA) for all admin accounts
bash
# Configuration example - Verify MAIN_ODT_AS_PDF setting
# Check the Dolibarr configuration for suspicious values
grep -r "MAIN_ODT_AS_PDF" /var/www/dolibarr/conf/

# If upgrading is not immediately possible, consider disabling the feature
# by clearing the configuration value in the Dolibarr admin panel
# Setup -> Setup -> ODT Templates -> PDF Generation Command: (leave empty)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDolibarr

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Release Note 23.0.0

  • GitHub Security Advisory GHSA-w5j3-8fcr-h87w
  • Related CVEs
  • CVE-2026-31018: Dolibarr ERP/CRM RCE Vulnerability

  • CVE-2026-31019: Dolibarr ERP/CRM RCE Vulnerability

  • CVE-2026-22666: Dolibarr ERP/CRM RCE Vulnerability

  • CVE-2023-30253: Dolibarr ERP/CRM RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English