What’s Vulnerable › Vulnerabilities

CVE-2026-89013: Dolibarr 23.0.4 < 24.0.1 Authorization Bypass via hashp Parameter in document.php

Description

Dolibarr 23.0.4 before 24.0.1 contains an authorization bypass vulnerability that allows unauthenticated attackers to read arbitrary files through the document storage endpoints by supplying a crafted hashp parameter value. Attackers can send a request with hashp=shared to skip token validation while satisfying the authorization condition in htdocs/document.php and htdocs/viewimage.php, gaining access to application logs, uploaded business documents, database backups containing password hashes, and files belonging to other multicompany entities.

Affected products

How to fix

Upgrade to a fixed version: dolibarr 24.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89013 or the next vulnerability affects your stack