Read the docs

Code injection in Dolibarr ERP CRM document upload

Priority MEDIUM 57CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

Dolibarr ERP CRM up to 23.0.4 contains a code injection flaw in the dol_convert_file function in htdocs/core/lib/files.lib.php, part of the Document Upload component. Improper control of code generation (CWE-94) lets a remote attacker inject code, and the attack needs low privileges and no user interaction. A public exploit is available and might be used.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

A vulnerability was identified in Dolibarr ERP CRM up to 23.0.4. This affects the function dol_convert_file in the library htdocs/core/lib/files.lib.php of the component Document Upload. Such manipulation leads to code injection. The attack can be launched remotely. The exploit is publicly available and might be used. Upgrading to version 24.0.0 is able to mitigate this issue. The name of the patch is 9b6368b2a9eae3eec690b2ce22c4f291f0051540. Upgrading the affected component is advised.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00358 21st percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed ERP CRM (Dolibarr): 24.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DolibarrERP CRM23.0.0; 23.0.1; 23.0.2; 23.0.3; 23.0.424.0.0Patch availableCNA
  • ERP CRM VendorDolibarr Affected 23.0.0; 23.0.1; 23.0.2; 23.0.3; 23.0.4 Fixed in 24.0.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:dolibarr:erp_crm:*:*:*:*:*:*:*:*——Dolibarr
  • cpe:2.3:a:dolibarr:erp_crm:*:*:*:*:*:*:*:* Versions — — ·Dolibarr

Remediation

Upgrade Dolibarr ERP CRM to version 24.0.0, which contains patch 9b6368b. Upgrading the affected component is advised.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA ERP CRM (Dolibarr) Fixed in 24.0.0

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-133327
  2. 2026-11-20 Alias added: GHSA-g7wp-wmgv-cvc9
  3. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2022-21049 Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. CVSS 3.1CRITICAL 9.8
  • TI-2022-03742 SQL Injection in dolibarr/dolibarr CVSS 3.1CRITICAL 9.8
  • TI-2018-15582 Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php CVSS 4.0CRITICAL 9.3
  • TI-2018-07157 SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute… CVSS 3.0CRITICAL 9.8
  • TI-2019-15505 Dolibarr ERP/CRM 10.0.1 SQL Injection via elemid CVSS 4.0HIGH 8.8
  • TI-2026-18933 Dolibarr: OS Command Injection (RCE) via MAIN_ODT_AS_PDF configuration CVSS 4.0CRITICAL 9.4
See all 175 →

Sources