A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-37712

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

CVE-2026-37712 is a remote code execution flaw in Dolibarr ERP/CRM versions 22.0.0-22.0.4 and 24.0.0-alpha that allows attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-37712 Overview

CVE-2026-37712 is a remote code execution vulnerability in Dolibarr ERP/CRM affecting versions 22.0.0 through 22.0.4 and 24.0.0-alpha. The flaw resides in htdocs/cron/class/cronjob.class.php, where the call_user_func_array() PHP function is invoked against attacker-influenced input within the job type handling logic. An authenticated remote attacker with access to the cron job configuration can execute arbitrary PHP code on the underlying server.

Critical Impact

Successful exploitation grants attackers arbitrary code execution within the Dolibarr web application context, enabling full compromise of business data, customer records, and the hosting server.

Affected Products

  • Dolibarr ERP/CRM v22.0.0 through v22.0.4
  • Dolibarr ERP/CRM v24.0.0-alpha
  • Deployments using the cron module (htdocs/cron/class/cronjob.class.php)

Discovery Timeline

  • 2026-05-27 - CVE-2026-37712 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-37712

Vulnerability Analysis

The vulnerability stems from unsafe use of PHP's call_user_func_array() in the cron job class. Dolibarr permits administrators to define scheduled tasks with a configurable job type, class, method, and parameters. When the cron scheduler processes a job, it passes user-controlled values to call_user_func_array() without sufficient allowlisting of permitted callbacks.

This condition falls under Code Injection. Because the function name and arguments are sourced from the cron job record, an attacker who can create or modify cron entries can pivot from configuration access to direct PHP function invocation. The Bryamzxz analysis describes this as a recurrence of long-standing evaluation issues in the dol_eval family of helpers used by Dolibarr.

Root Cause

The root cause is missing validation of callable identifiers passed to a dynamic dispatch function. call_user_func_array($function, $args) will invoke any function reachable by name, including dangerous primitives such as system, exec, passthru, or assert, when the first argument is not constrained to a vetted allowlist.

Attack Vector

An attacker authenticates to a Dolibarr instance with permissions to create or edit cron jobs. They craft a job whose type triggers the call_user_func_array() code path and supply a function name plus argument array. When the cron scheduler executes, or when the attacker triggers manual execution, the chosen function runs with the privileges of the PHP process. The attacker then drops a webshell, exfiltrates database credentials from conf.php, or pivots into the host operating system.

No verified public proof-of-concept code is included in the references. Technical write-up details are available in the Bryamzxz Blog Analysis and the GitHub Security Advisory GHSA-c2jp-w9cj-6cx4.

Detection Methods for CVE-2026-37712

Indicators of Compromise

  • New or modified rows in the llx_cronjob database table containing unusual function names such as system, exec, shell_exec, passthru, or assert.
  • PHP-FPM or Apache child processes spawning OS shells (/bin/sh, bash, cmd.exe) as descendants of the Dolibarr web server.
  • Outbound network connections initiated by the web server to unfamiliar hosts shortly after cron execution windows.
  • Newly created files under htdocs/ with PHP extensions and recent modification timestamps not associated with deployment activity.

Detection Strategies

  • Review Dolibarr cron job definitions for entries whose class, method, or parameter fields reference PHP language built-ins rather than legitimate Dolibarr classes.
  • Hunt for process-tree anomalies where the web server user executes shell utilities, curl, wget, or compilers.
  • Correlate authentication logs with cron job creation events to identify administrative accounts modifying scheduled tasks outside change windows.

Monitoring Recommendations

  • Enable PHP disable_functions audit logging where supported and alert on attempts to invoke restricted functions.
  • Forward Dolibarr application logs and web server access logs to a central SIEM, focusing on /htdocs/cron/ endpoints.
  • Monitor file integrity on the Dolibarr installation directory to detect webshell drops following cron execution.

How to Mitigate CVE-2026-37712

Immediate Actions Required

  • Upgrade Dolibarr to a patched release beyond 22.0.4 as referenced in the GitHub Security Advisory GHSA-c2jp-w9cj-6cx4. Avoid the 24.0.0-alpha build in production.
  • Audit all existing cron job entries and remove any that reference unexpected functions or classes.
  • Rotate database credentials and API keys stored in conf.php if compromise is suspected.

Patch Information

The Dolibarr maintainers published advisory GHSA-c2jp-w9cj-6cx4 addressing the unsafe call_user_func_array() invocation in htdocs/cron/class/cronjob.class.php. Apply the fixed upstream version and rebuild any forks or customized deployments against the patched source tree.

Workarounds

  • Restrict cron job management privileges to a minimal set of trusted administrators by tightening the Dolibarr permission model.
  • Disable the cron module entirely if scheduled tasks are not required for the deployment.
  • Configure PHP disable_functions to block system, exec, passthru, shell_exec, proc_open, and assert for the Dolibarr execution context.
bash
# Example PHP hardening for the Dolibarr web context
# /etc/php/8.x/fpm/pool.d/dolibarr.conf
php_admin_value[disable_functions] = system,exec,passthru,shell_exec,proc_open,popen,assert,pcntl_exec
php_admin_value[open_basedir] = /var/www/dolibarr/:/tmp/

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDolibarr

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Bryamzxz Blog Analysis

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-37711: Dolibarr ERP/CRM RCE Vulnerability

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

  • CVE-2018-25357: Dolibarr ERP/CRM RCE Vulnerability

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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