Skip to main content

Dolibarr ERP CRM CVE-2026-133327

| EUVDEUVD-2026-130791 LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-11-19 cna@vuldb.com GHSA-g7wp-wmgv-cvc9
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with document-upload rights
  2. Delivery
    Upload crafted SVG disguised as PDF
  3. Exploit
    dol_convert_file passes file to Imagick
  4. Execution
    Imagick MSL/SVG delegate parses malicious markup
  5. Impact
    Code injection executes on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Requires an authenticated account with document-upload capability (PR:L) that can reach a code path invoking dol_convert_file for image/PDF preview generation. Critically, code execution only occurs if the server has the ImageMagick/Imagick extension installed with the MSL (Magick Scripting Language) or SVG delegate enabled and a permissive /etc/ImageMagick*/policy.xml - the commit notes these policy options can be disabled, which blocks exploitation. The attacker supplies a file that is not a genuine PDF (e.g. an SVG embedding scripting) but is processed as one. Limiting factors: valid authentication is required, the vulnerable ImageMagick configuration must be present (default-restrictive policies prevent it), and the install must be at or below version 23.0.4.

Impact

The decision signals converge on low operational priority despite the alarming 'code injection' label. The vendor (VulDB) CVSS 4.0 base score is only 2.1, with PR:L (authenticated), limited VC:L/VI:L/VA:L impacts and no subsequent-system impact, and the vuln.today Decision label is 'monitor' - not act_now or emergency. There is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation. The exploitation maturity is E:P (proof-of-concept) and a public PoC reference is claimed by VulDB, but it is not verified as working exploit code. The low score is consistent with the mechanism shown in the commit: the flaw only yields code execution when the server runs ImageMagick/Imagick with the MSL (Magick Scripting Language) or SVG delegate enabled and a permissive policy.xml, so the severe CWE-74 outcome is gated behind a non-default, hardening-dependent configuration - this is why a 'code injection' bug carries a low real-world score rather than a critical one. Conflict to note: the CWE-74 class and 'code injection' wording imply high severity, but the CVSS vector and required Imagick configuration imply a much narrower, conditional impact - verify your own ImageMagick policy hardening before prioritizing.

Exploit ScenarioDerived

An authenticated Dolibarr user with document-upload rights uploads a malicious SVG (or other non-PDF payload) renamed to look like a PDF; when Dolibarr calls dol_convert_file to generate an image preview, the file is handed to Imagick, which - if MSL/SVG delegate support is enabled and policy.xml is permissive - parses attacker-controlled markup and executes code on the server. A public PoC reference exists but is not verified as working exploit code. Exploitation is remote over the network but requires low-privilege authentication (PR:L) and the specific ImageMagick configuration.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Code injection is possible in Dolibarr ERP CRM up to and including 23.0.4 through the dol_convert_file() preview routine in htdocs/core/lib/files.lib.php, which hands uploaded files to ImageMagick/Imagick for conversion to PNG without first verifying that the file is genuinely a PDF. An authenticated user holding document-upload capability can therefore submit a crafted non-PDF (for example an SVG carrying Magick Scripting Language or embedded scripting) that Imagick processes as a document, yielding limited code execution in the context of the web server. Exploitation is not confirmed active (no CISA KEV listing) and depends on a permissive ImageMagick delegate configuration; the vendor description states that exploit code is publicly available, and the reporter's CVSS 4.0 score is 2.1 while the vuln.today decision label is monitor.

RemediationAI

Upgrade Dolibarr ERP CRM to version 24.0.0, which contains the isRealPdf() magic-header guard in htdocs/core/lib/files.lib.php; sites that cannot upgrade immediately can apply the upstream commit 9b6368b2a9eae3eec690b2ce22c4f291f0051540 (PR https://github.com/Dolibarr/dolibarr/pull/38020) as a backport. As the commit itself points out, the code path only becomes dangerous when the ImageMagick policy allows the relevant coders, so hardening /etc/ImageMagick*/policy.xml to disable the MSL and SVG delegate/coder entries blocks the injection at the interpreter - with the trade-off that any legitimate workflow relying on SVG or MSL conversion through ImageMagick will stop working - and the fix additionally logs a warning for every rejected file, so monitoring Dolibarr's syslog for 'not a real PDF file (hack attempt ?)' gives detection coverage. Restricting document-upload privileges to trusted roles reduces exposure only partially, since the vulnerable function is invoked from ordinary authenticated upload flows. Reference material: https://github.com/Dolibarr/dolibarr/releases/tag/24.0.0 and https://vuldb.com/vuln/440553.

Affected VersionsENISA

ERP CRM 23.0.2
ERP CRM 23.0.0
ERP CRM 23.0.4
ERP CRM 23.0.3
ERP CRM 23.0.1

Affected Packages

euvd erp_crm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dolibarr's files.lib.php implements document handling for the ERP, and dol_convert_file() renders the first page of an upload into a PNG thumbnail using the PHP Imagick extension. Because the wrapper only received a filename and assumed PDF input, Imagick's delegate and coder resolution could be steered by the file's actual content rather than its extension - Imagick supports the Magick Scripting Language (MSL) coder and SVG handling that can carry executable directives, so a file that is not a real PDF but is routed to the converter can execute code inside the ImageMagick process. The upstream fix (commit 9b6368b2a9eae3eec690b2ce22c4f291f0051540, PR 38020, released in 24.0.0) adds an isRealPdf() helper that opens the target file, reads the first five bytes and requires the '%PDF-' magic header, returning -4 and writing a 'hack attempt?' warning to the Dolibarr syslog when the check fails; it also narrows the globals used by dol_add_file_process() and comments out a basename() call in deleteFilesIntoDatabaseIndex(). A PHPUnit test (FilesLibTest::testDolConvertFile) asserts that an SVG with JavaScript named as a PDF is rejected with -4 while a legitimate PDF still converts. CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) captures the root cause: untrusted upload content reaching a downstream interpreter. Crucially, the commit itself notes that Imagick policy options in /etc/ImageMagick*/policy.xml can restrict these coders, which is why default-restrictive distributions are not exploitable.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.0 MEDIUM

Remote but requires an authenticated uploader (PR:L) and a non-default ImageMagick MSL/SVG configuration outside attacker control (AC:H); impact is real but limited (C/I/A:L) per the commit mechanism.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular open-source ERP/CRM with moderate SMB deployment footprint, not ubiquitous
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy