Skip to main content

Dolibarr ERP CRM CVE-2026-142691

| EUVDEUVD-2026-142000 CRITICAL
Path Traversal (CWE-22)
2026-12-03 VulnCheck GHSA-fqx6-jq77-56f6
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach WebDAV public endpoint unauthenticated
  2. Delivery
    Upload file to public directory
  3. Exploit
    Send MOVE/COPY with %2e%2e Destination header
  4. Execution
    Escape public dir via path traversal
  5. Persist
    Plant PHP file in web root
  6. Impact
    Execute arbitrary code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the DAV_ALLOW_PUBLIC_DIR global setting is enabled, exposing the WebDAV public directory at /dav/fileserver.php/public for anonymous access - this is the specific, named configuration prerequisite and is not a default state. The affected versions are Dolibarr ERP CRM 8.0.0 through 24.0.4. Given that precondition, no authentication is required (PR:N) and no user interaction is needed (UI:N): the attacker directly uploads a file and then issues a MOVE or COPY request with %2e%2e segments in the Destination header. The primary limiting factor is the non-default DAV_ALLOW_PUBLIC_DIR configuration; instances that never enabled the public DAV directory are not exposed to the unauthenticated path. Successful RCE additionally depends on the relocated PHP file landing in a location the web server will execute.

Impact

This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) describes a network-reachable, low-complexity, unauthenticated (PR:N) flaw with high confidentiality, integrity and availability impact - consistent with the description's unauthenticated arbitrary file write leading to remote code execution. The one tempering signal is AT:P (an attack requirement), which aligns with the description's precondition that DAV_ALLOW_PUBLIC_DIR must be enabled; this is a non-default deployment state, so the flaw is not universally exploitable against every Dolibarr install. The vuln.today decision label is act_now and a vendor patch is available, reinforcing urgency. This CVE is not in CISA KEV and no EPSS score was provided, so there is no evidence of confirmed active exploitation or a quantified exploitation probability at the time of analysis; the urgency rests on the act_now label, the VulnCheck advisory, the patch availability, and the unauthenticated-RCE technical profile rather than observed in-the-wild activity. Net: treat as a priority to patch wherever the public DAV directory is enabled; the AT:P configuration gate is the main factor separating exposed from non-exposed instances.

Exploit ScenarioDerived

On a Dolibarr instance with DAV_ALLOW_PUBLIC_DIR enabled, a remote unauthenticated attacker uploads a file to the WebDAV public directory, then issues a MOVE or COPY request whose Destination header contains %2e%2e (percent-encoded dot) segments that survive Sabre's URL normalization and are only decoded during path resolution, relocating the file outside the public directory. By planting a .php file in a web-served location, the attacker achieves remote code execution. No authentication or user interaction is required (PR:N/UI:N), and complexity is low (AC:L); no verified working public exploit code was identified, though VulnCheck published a technical advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 03, 2026

Remote code execution is achievable in Dolibarr ERP CRM 8.0.0 through 24.0.4 when the DAV_ALLOW_PUBLIC_DIR setting is enabled: the WebDAV endpoint htdocs/dav/fileserver.php exposes a public directory to anonymous users, and an unauthenticated attacker can upload a file there and then issue a MOVE or COPY whose Destination header carries percent-encoded dot segments (%2e%2e) to relocate it outside the public directory as a PHP file. No credentials or user interaction are required once that non-default global setting is on, which is why this carries an act_now priority label; instances that never enabled the public DAV directory are not reachable through the unauthenticated path. A vendor fix is available upstream, and no public exploit was identified at time of analysis.

RemediationAI

Apply the vendor fix referenced in Dolibarr pull request 43743 (commits c65014dbeb63a369acaac70347a116afc60ee825 and efe4807f8277e21ed1812f3526a08785c57fbb52) to your Dolibarr installation; the upstream fix is available per the vendor, and a released patched version number is not independently confirmed from the supplied data, so verify the tag containing these commits on the Dolibarr repository before upgrading. The single most effective interim mitigation is to disable the DAV_ALLOW_PUBLIC_DIR global setting, which removes the anonymous access path this exploit depends on entirely - the trade-off is that unauthenticated/public WebDAV access to the public directory stops working for legitimate users; authenticated WebDAV access is unaffected. Because exploitation additionally requires the relocated PHP payload to land in a directory the web server executes, limiting PHP execution in uploaded/document storage directories (and keeping upload paths outside the document root) reduces the impact of a successful file write, at the cost of changing how any legitimate hosted PHP assets in those paths are served. Review DAV access logs for MOVE or COPY requests carrying percent-encoded dot segments (%2e%2e) in the Destination header as evidence of attempted exploitation.

Affected VersionsENISA

Dolibarr ERP CRM 8.0.0 ≤24.0.4

Affected Packages

euvd dolibarr_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

The flaw is CWE-22 (improper limitation of a pathname to a restricted directory) combined with an authentication bypass in Dolibarr's SabreDAV front controller, htdocs/dav/fileserver.php, which is the PHP entry point wrapping the Sabre\DAV library for WebDAV access to Dolibarr documents. The vulnerable build allows anonymous access whenever the DAV_ALLOW_PUBLIC_DIR global is set, but the anonymous carve-out was matched against Sabre\Uri\normalize() of PHP_SELF without decoding the raw request path. Percent-encoded dot segments survive Sabre's normalization and are only decoded later, when Sabre resolves the path into the file tree - so a MOVE or COPY request with %2e%2e sequences in the Destination header escapes the node's directory and writes an attacker-supplied payload to an arbitrary path. The upstream patch (commits c65014db and efe4807f, PR #43743) rawurldecodes both the request path and, for MOVE/COPY, the Destination header before Sabre handles them, rejects any request containing a dot segment with a 403, and additionally confines anonymous requests and their MOVE/COPY destinations to the /dav/fileserver.php/public prefix. Successful code execution further depends on the relocated file landing where the web server will interpret PHP.

Know when Dolibarr Erp Crm 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 (VulnCheck) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Remote, unauthenticated (PR:N) file write on the public DAV directory yields code execution with full C/I/A impact; the DAV_ALLOW_PUBLIC_DIR requirement is a deployment condition rather than per-attack complexity, so AC:L.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Dolibarr ERP CRM 8.0.0 through 24.0.4 contains an authentication bypass and path traversal vulnerability in htdocs/dav/fileserver.php that allows unauthenticated attackers to write arbitrary files when DAV_ALLOW_PUBLIC_DIR is enabled. Attackers can upload a file to the public directory, then MOVE or COPY it using %2e%2e segments in the Destination header to plant PHP files for remote code execution.

Executive ViewAI

Why It Matters

CVE-2026-142691 is a critical remote code execution vulnerability in Dolibarr ERP CRM versions 8.0.0 through 24.0.4 that allows unauthenticated attackers to execute arbitrary code on systems where the non-default DAV_ALLOW_PUBLIC_DIR setting is enabled. This puts any organization using these versions with that setting at risk of full system compromise, data theft, and operational disruption. Leadership should prioritize immediate remediation given the act-now label, though instances without the public DAV directory enabled are not exposed.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not possible, disable the DAV_ALLOW_PUBLIC_DIR setting and restrict network access to the WebDAV endpoint.

Threat Intelligence Overview

EPSS Score
1.4%
Top 27% exploitable
Prevalence
Medium
popular open-source ERP/CRM but not ubiquitous enterprise infrastructure
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 1.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-38886 HIGH POC
7.2 Sep 20

An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra

CVE-2023-30253 HIGH POC
8.8 May 29

Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea

CVE-2017-7886 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit

CVE-2023-38888 CRITICAL POC
9.6 Sep 20

Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive

CVE-2017-7888 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s

CVE-2022-4093 CRITICAL POC
9.8 Nov 21

SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe

CVE-2022-43138 CRITICAL POC
9.8 Nov 17

Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra

CVE-2022-40871 CRITICAL POC
9.8 Oct 12

Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2021-33816 CRITICAL POC
9.8 Nov 10

The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha

CVE-2020-7995 CRITICAL POC
9.8 Jan 26

The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem

CVE-2018-25357 CRITICAL POC
9.3 May 23

Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute

CVE-2024-5315 CRITICAL POC
9.1 May 24

Vulnerabilities in Dolibarr ERP - CRM that affect version 9.0.1 and allow SQL injection. Rated critical severity (CVSS 9

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