CVE-2025-56588: Dolibarr ERP & CRM remote code execution in User module computed field

CVE-2025-56588 · Severity: high · CVSS 8.8 · Published 2025-10-01

Dolibarr ERP & CRM, a popular open-source suite for managing business operations and customer relationships, contains a security flaw in its User module. An attacker with administrative access can exploit the 'computed field' feature to run unauthorized commands on the underlying server. This could lead to a complete takeover of the application, theft of sensitive business data, or disruption of operations.

Technologies: Dolibarr Crm, Dolibarr Erp\, Dolibarr ERP CRM, dolibarr/dolibarr (Packagist). Vendors: Dolibarr, Packagist.

Quick answers

Is CVE-2025-56588 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-56588 being exploited in the wild.
How severe is CVE-2025-56588?
High severity, with a CVSS score of 8.8, published 1 October 2025.
Which products and versions are affected?
Dolibarr ERP CRM 21.0.1; dolibarr/dolibarr (Packagist) ECOSYSTEM:introduced=0,fixed=21.0.3.
Is there a fix for CVE-2025-56588?
Yes. dolibarr/dolibarr (Packagist): upgrade to 21.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-56588 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-56588?
Check whether you run Dolibarr Crm, Dolibarr Erp\, Dolibarr ERP CRM or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • dolibarr/dolibarr (Packagist): upgrade to 21.0.3 or later
    composer require dolibarr/dolibarr:^21.0.3

Technical details

A remote code execution (RCE) vulnerability exists in Dolibarr ERP & CRM v21.0.1 within the User module's extra fields configuration. The flaw is classified as a code injection (CWE-94) where administrator-defined expressions in 'computed fields' are improperly sanitized before evaluation during page rendering. This vulnerability specifically bypasses previous mitigations implemented for CVE-2024-40137. While the CVSS vector suggests a requirement for user interaction, the primary attack vector involves an authenticated administrator modifying field parameters to achieve server-side execution. A patch has been committed to the Dolibarr GitHub repository to address this issue.

Affected products

  • Dolibarr Dolibarr ERP & CRM 21.0.1

Identifiers

  • CVE-2025-56588
  • GHSA-27hj-48r9-x2vx

Timeline

  • 2025-07-12: disclosed: Reported to vendor and MITRE
  • 2025-09-29: patched: Patch committed to GitHub repository
  • 2025-10-01: advisory: CVE published by NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.