Summary
CVE-2026-89013 is an authorization bypass vulnerability (CWE-863: Incorrect Authorization) in Dolibarr, the open-source ERP/CRM platform, affecting versions 23.0.4 through 24.0.0. The flaw allows unauthenticated attackers to read arbitrary files exposed through the application’s document storage endpoints by supplying a crafted hashp parameter value. The issue carries a CVSS v4.0 base score of 8.7 (High).
Technical details
- Root cause: Improper authorization logic in
htdocs/document.phpandhtdocs/viewimage.php. The handling of thehashprequest parameter fails to correctly enforce token validation for certain values. - Trigger condition: Submitting a request to the affected document-serving endpoints with the parameter set to
hashp=sharedsatisfies the endpoint’s authorization check without presenting valid credentials or a valid access token. - Attack vector: Network-based, unauthenticated, low complexity — no user interaction is required.
- Impact: Confidentiality impact only (no integrity or availability impact). Exploitation can expose application logs, business documents, database backups (potentially including password hashes), and documents belonging to other entities in multicompany Dolibarr deployments.
Affected software
- Dolibarr versions 23.0.4 up to (but not including) 24.0.1
Severity
- CVSS v4.0: 8.7 (High) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade to Dolibarr 24.0.1 or later, which contains the fix for this issue.
- If immediate patching is not possible:
- Restrict external network access to Dolibarr instances, particularly to
document.phpandviewimage.php, until the patch can be applied. - Monitor access logs for requests containing
hashp=sharedor unusual traffic to document-serving endpoints. - Review exposed document storage for sensitive files (e.g., database backups, logs) and ensure backups are not stored in web-accessible locations.
- Rotate credentials and password hashes that may have been exposed via database backup files if compromise is suspected.
- Restrict external network access to Dolibarr instances, particularly to

