Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach WebDAV public endpoint unauthenticated
-
DeliveryUpload file to public directory
-
ExploitSend MOVE/COPY with %2e%2e Destination header
-
ExecutionEscape public dir via path traversal
-
PersistPlant PHP file in web root
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Dolibarr Erp Crm
View allAn issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea
Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit
Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive
Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s
SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe
Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra
Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r
The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha
The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem
Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute
Vulnerabilities in Dolibarr ERP - CRM that affect version 9.0.1 and allow SQL injection. Rated critical severity (CVSS 9
EUVD-2026-142000
GHSA-fqx6-jq77-56f6
NVD
CVE.org
EPSS
Exploit-DB