External risk intelligence

Dolibarr ERP CRM Authentication Bypass and Path Traversal via WebDAV

CVE advisorySeverity: CRITICAL (CVSS 9.2)

CVE-2026-142691

Dolibarr is a web-based ERP and CRM application typically deployed to be accessible over a network. The vulnerability exists within the DAV file server component, which is a common feature for web-based collaboration and document management. While the specific configuration DAV_ALLOW_PUBLIC_DIR is required, the product's role as a web-accessible business platform makes public-internet exposure of this functionality a common deployment pattern.

Path Traversal

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A security vulnerability has been identified in Dolibarr ERP CRM software that could allow unauthorized users to write files to the system. This issue arises from how the software handles file operations within its web-based interface, potentially enabling attackers to gain control of the system if a specific configuration is enabled.

  • Allows attackers to write unauthorized files.
  • Critical for business systems managing customer data.
  • Confirm relevance and assess potential exposure.

Attack Path

How an attacker could exploit the issue

An unauthenticated attacker can gain access to the Dolibarr ERP CRM system if the DAV feature is publicly exposed. By uploading a malicious file to a public directory and then manipulating its destination using path traversal techniques, an attacker can place a PHP file on the server, leading to remote code execution.

  • Publicly accessible file server required.
  • Path traversal to plant malicious files.
  • Remote code execution.

Live Threat

Current exploitation, exposure, and threat context

When DAV_ALLOW_PUBLIC_DIR is enabled, unauthenticated attackers could plant malicious PHP files on the server through the WebDAV interface, enabling remote code execution under specific supported conditions.

  • Server file system.
  • Unauthenticated file upload and move.
  • Remote code execution.

Operational Fix

Recommended remediation, mitigation, and detection steps

Application owners and infrastructure teams should coordinate to address this critical vulnerability. The initial practical move is to identify all Dolibarr installations, confirm whether the `DAV_ALLOW_PUBLIC_DIR` configuration is enabled, and determine the business criticality and external reachability of each instance. Once identified and prioritized, a remediation plan should be developed, potentially involving vendor coordination for patches or temporary risk reduction measures.

  • Application owners should own this issue.
  • Verify `DAV_ALLOW_PUBLIC_DIR` configuration status.
  • Plan remediation based on exposure and risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Dolibarr ERP CRM?

Dolibarr is a suite of web-based software used by businesses to manage internal operations like accounting, human resources, inventory, and customer relationships. Because it acts as a central hub for sensitive company data, it is frequently hosted on web servers to allow employees to access tools and documents remotely through a browser.

What does CVE-2026-142691 mean for security?

This vulnerability involves an authentication bypass and path traversal, classified as CWE-22. It means the software fails to properly verify if a user is authorized to perform file operations and fails to restrict where those files can be saved. An attacker can exploit this to move a file outside of its intended folder, allowing them to place executable code onto the server.

How can an attacker trigger this vulnerability?

The attack requires the server to have the specific DAV_ALLOW_PUBLIC_DIR configuration enabled. If this setting is disabled, the vulnerability cannot be triggered. When active, an attacker uses the WebDAV interface to upload a file and then uses special character sequences in a request header to move that file into a sensitive area of the server's directory structure.

Is my Dolibarr instance at risk?

Risk depends on your deployment and configuration. According to Halo Surface Signal, Dolibarr is typically network-accessible, and the WebDAV component is often exposed to the public internet for collaboration. You should care if your instance is reachable from outside your internal network and has the public directory feature enabled, as these factors increase the likelihood of remote exploitation.

How should I respond to this threat?

Start by performing an inventory of all Dolibarr installations in your environment to identify which versions are running. Check the configuration files to see if DAV_ALLOW_PUBLIC_DIR is enabled. If it is, prioritize disabling this feature immediately while you coordinate with your IT or security team to review official vendor patches or follow the recommended remediation guidance.

References