Dolibarr is an open-source enterprise resource planning (ERP) and customer relationship management (CRM) software used by small and medium enterprises worldwide. It is designed to manage various business processes such as invoicing, accounting, inventory management, and customer interactions. The software is web-based, allowing users access through a web browser, making it conveniently accessible for businesses with remote operations. Organizations often use Dolibarr to streamline administration and management tasks, enhancing operational efficiency. The system is modular, allowing it to be customized with additional functionalities through various modules based on organizational needs. Dolibarr's accessibility via a web interface means it is susceptible to security vulnerabilities inherent in web applications.
The authorization bypass vulnerability in Dolibarr allows unauthorized access to files within its managed directories, risking exposure of sensitive information. This issue arises from the inadequate handling of the 'hashp' parameter in specific functionalities like public share links for documents, leading to bypassing login token verification. An attacker can exploit this flaw to access sensitive data such as SQL database backups, invoices, user information, and more without authentication. This vulnerability fundamentally impacts the confidentiality of information residing within Dolibarr's directories. Swift identification and patching are crucial to minimize risk exposure to attackers seeking unauthorized data access.
Technical details reveal that the vulnerability resides in the document.php and viewimage.php scripts when handling the 'hashp' parameter. The bypass mechanism engages when 'hashp=shared' bypasses token resolution, ensuring any non-empty value leads to file access. This weak token oversight mechanism permits attackers to exploit endpoints to view confidential files arbitrarily. The endpoint does not appropriately restrict access, allowing malicious entities to circumvent login requirements and leverage public links intended for legitimate users. Such systemic oversight signals a critical security flaw, necessitating immediate remediation to restore secure file access protocols.
Exploiting this vulnerability could lead to unauthorized access to critical data, potentially exposing financial records, sensitive company documents, and personal user information. Malicious entities could leverage the vulnerability to gather intelligence, plan further attacks, exfiltrate data for financial gain, or disrupt business operations. Additionally, sensitive business information exposure could lead to regulatory fines, reputational damage, or competitive disadvantage if proprietary information is disclosed. Such consequences underscore the importance of timely vulnerability identification and resolution in safeguarding digital assets.
REFERENCES
- https://github.com/Faceless0x7/CVE-2026-89013
- https://github.com/Dolibarr/dolibarr/commit/cd05688dbed8a4af6eef32faf4fc1e823a37bce9
- https://github.com/Dolibarr/dolibarr/commit/a8bc4a63e1b6356884abcd83c4a38954d9649b0b
- https://github.com/Dolibarr/dolibarr/commit/3bd8aa8b909e596d7dab4388d0466ec24e6ad191
- https://github.com/Dolibarr/dolibarr/releases/tag/24.0.1
- https://www.vulncheck.com/advisories/dolibarr-authorization-bypass-via-hashp-parameter-in-document-php
- https://previdian.com/CVE-2026-89013
- http://nvd.nist.gov/vuln/detail/CVE-2026-89013
- Upgrade Dolibarr to version 24.0.1 or later.
- Regularly audit public link configurations to ensure they do not inadvertently expose sensitive files.
- Implement access controls to restrict file access strictly to authorized users.
- Conduct comprehensive security reviews prior to deploying feature modifications affecting user access authorizations.
- Enable and review logging of access to sensitive files to identify potential unauthorized access incidents.
Get AI-powered remediation steps tailored to your asset.
Try AI Solutions →