CVE-2026-89013 Dolibarr 23.0.4 < 24.0.1 Authorization Bypass via hashp Parameter in document.php
Unauthenticated attackers can bypass authorization in Dolibarr to read arbitrary files, including logs and database backups, by manipulating the hashp parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-89013?
CVE-2026-89013 is a high-severity missing authorization vulnerability in Dolibarr, published on 11 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2026-89013?
How do I fix CVE-2026-89013?
No fix has been published for CVE-2026-89013 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-89013 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-89013 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-fm6p-42mr-x6jm.