CVE-2026-142691: Dolibarr ERP CRM 8.0.0 through 24.0.4 Unauthenticated File Write via WebDAV MOVE/COPY

Published Dec 3, 2026
·
Updated

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 DAVALLOWPUBLICDIR 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.

Affected Software

1 affected component
dolibarr Dolibarr ERP CRM>=8.0.0<=24.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable DAV_ALLOW_PUBLIC_DIR to prevent the vulnerable public-directory WebDAV behavior.

    Dolibarr ERP CRM DAV_ALLOW_PUBLIC_DIR = false

Event History

Dec 3, 2026
CVE Published
via MITRE·12:09 AM
Data Sourced
via MITRE·12:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 AM
DescriptionSeverityWeakness
Event
via NVD·01:17 AM

Frequently Asked Questions

1

Which deployments are exposed to unauthenticated exploitation?

Dolibarr ERP CRM versions 8.0.0 through 24.0.4 are exposed when DAV_ALLOW_PUBLIC_DIR is enabled. The vulnerable endpoint is htdocs/dav/fileserver.php.

2

What does an attacker need to exploit this issue?

No authentication or user interaction is required. The attacker needs access to the WebDAV endpoint and a configuration with DAV_ALLOW_PUBLIC_DIR enabled, allowing them to upload to the public directory and send a MOVE or COPY request with encoded traversal segments in the Destination header.

3

What is the likely impact if exploitation succeeds?

An attacker can write arbitrary files and plant PHP files, which can lead to remote code execution. The reported impact includes compromise of confidentiality, integrity, and availability.

4

What can be done if patching cannot happen immediately?

Disable DAV_ALLOW_PUBLIC_DIR to remove the public-directory condition required by the described attack. Restricting access to the WebDAV endpoint can also reduce exposure, but the provided data specifically identifies disabling DAV_ALLOW_PUBLIC_DIR as the relevant control.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203