CVE-2018-25357: Dolibarr ERP CRM Remote Code Evaluation Vulnerability

dolibarr/dolibarr Updated 01 Jul 2026

Summary

26/05/2026
Yes i
Critical
9.8

CVE-2018-25357: Dolibarr ERP CRM contains a remote code evaluation vulnerability. Affects dolibarr/dolibarr across 2 version ranges.

< 6.0.8 >= 7.0.0, < 7.0.4

Fixed in 6.0.8 or 7.0.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Dolibarr ERP CRM is an open-source software suite designed for managing business processes, including ERP and CRM functionalities. It provides tools for invoicing, project management, and customer relationship management. The software is widely used by small and medium enterprises due to its flexibility and ease of use. However, certain versions of Dolibarr are vulnerable to a critical security flaw that allows unauthorized remote code execution, posing significant risks to users' data and system integrity.

Vulnerability Detail

Dolibarr ERP CRM version 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute arbitrary PHP code through the 'db_name' parameter. This vulnerability arises when attackers send a specially crafted POST request to the 'install/step1.php' endpoint, injecting malicious PHP code. Subsequently, they can execute commands via the 'check.php' endpoint using the 'cmd' GET parameter. The implications of this vulnerability are severe, as it can lead to complete system compromise and unauthorized access to sensitive data.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 6.0.8 6.0.8
    composer require dolibarr/dolibarr:6.0.8
  • >= 7.0.0, < 7.0.4 7.0.4
    composer require dolibarr/dolibarr:7.0.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users are advised to restrict access to the vulnerable endpoints ('install/step1.php' and 'check.php') by implementing server-side access controls or firewall rules to prevent unauthorized access until the software can be updated.

Conclusion

CVE-2018-25357 represents a critical security vulnerability in Dolibarr ERP CRM that can lead to severe consequences if not addressed. Users are strongly encouraged to update their installations to the latest version to mitigate the risks associated with this vulnerability. Additionally, implementing temporary workarounds can help protect systems until updates are applied.

See every vulnerability recorded for dolibarr/dolibarr →

Share this vulnerability

FAQ

CVE-2018-25357 is a vulnerability in Dolibarr ERP CRM that allows remote code execution through a flaw in the handling of the 'db_name' parameter.

Versions 7.0.0 to 7.0.3 are affected by this vulnerability. Users should upgrade to version 7.0.4 or later.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to unauthorized access, data breaches, and complete system compromise, allowing attackers to execute arbitrary commands on the server.

The CVSS score for CVE-2018-25357 is 9.8, indicating a critical level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for dolibarr/dolibarr.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 6.0.8 6.0.8
    composer require dolibarr/dolibarr:6.0.8
  • >= 7.0.0, < 7.0.4 7.0.4
    composer require dolibarr/dolibarr:7.0.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback