CVE-2024-37821
HighCVSS 8.8Exploitation Probability (EPSS)
Elevated risk51th percentile - higher than 51% of all known CVEs
Summary
An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to version 19.0.1 allows attackers to upload a crafted .SQL file, leading to arbitrary code execution on the server.
Risk Assessment
An attacker can gain full control over the system, steal data, or install malware, posing a serious threat to the confidentiality and integrity of the organization's data.
Recommendation
Immediately update Dolibarr ERP CRM to the latest available version and restrict file upload permissions to trusted users only.
Other vulnerabilities in Dolibarr ERP CRM
See all- CVE-2026-37713High
An issue in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/core/class/commonobject.class.php.
- CVE-2026-37712High
An issue in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/cron/class/cronjob.class.php, in the call_user_func_array() function.
- CVE-2026-37711High
An issue in Dolibarr ERP/CRM versions 22.0.0 through 22.0.4 and 24.0.0-alpha allows a remote attacker to execute arbitrary code via the htdocs/core/actions_addupdatedelete.inc.php.
- CVE-2025-67486High
Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. Versions 22.0.2 and earlier contain an authenticated remote code execution vulnerability that allows authenticated administrators to execute arbitrary PHP code on the server.
- CVE-2017-17898High
Dolibarr ERP/CRM version 6.0.4 does not block direct requests to *.tpl.php files, allowing remote attackers to obtain sensitive information.
- CVE-2017-9840High
Dolibarr ERP/CRM version 5.0.3 and prior allows low-privilege users to upload files of dangerous types, which can result in arbitrary code execution within the context of the vulnerable application.
- CVE-2018-25357Critical
Dolibarr ERP CRM 7.0.3 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code through the db_name parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the db_name parameter, then execute commands via the check.php endpoint using the cmd GET parameter.
- CVE-2026-23500Critical
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.
- CVE-2026-22666High
A vulnerability in Dolibarr ERP/CRM prior to version 23.0.2 allows authenticated attackers with administrator privileges to achieve remote code execution. The issue is in the dol_eval_standard() function, which fails to apply forbidden string checks in whitelist mode and does not detect PHP dynamic callable syntax.
- CVE-2023-38888Critical
A Cross Site Scripting (XSS) vulnerability in Dolibarr ERP CRM version 17.0.1 and earlier allows a remote attacker to obtain sensitive information and execute arbitrary code via the REST API module, related to analyseVarsForSqlAndScriptsInjection and testSqlAndScriptInject functions.
Original NVD description (English source)
An arbitrary file upload vulnerability in the Upload Template function of Dolibarr ERP CRM up to v19.0.1 allows attackers to execute arbitrary code via uploading a crafted .SQL file.

