ZeroHour

CVE-2026-89013

PoC moderate

Authorization Bypass in Dolibarr Allows Unauthenticated Arbitrary File Read

CVSS 4.0
8.7 high
EPSS
<1%p31
Published
()
Modified
AI analysis

CVE-2026-89013 is an authorization bypass vulnerability (CWE-863) in Dolibarr ERP/CRM that allows unauthenticated attackers to read arbitrary files from the server. An attacker sends a request to htdocs/document.php or htdocs/viewimage.php with the hashp parameter set to "shared", which skips token validation while still satisfying the authorization condition. Successful exploitation grants access to application logs, uploaded business documents, database backups containing password hashes, and files belonging to other multicompany entities. All deployments running the affected version range (23.0.4 before 24.0.1) are impacted, particularly self-hosted instances reachable from the internet. No public proof-of-concept is known, the flaw is not in CISA KEV, and no confirmed in-the-wild exploitation has been reported.

What to do: Upgrade to Dolibarr 24.0.1 or later, which fixes the bypass. As an interim mitigation, restrict or filter requests to document.php and viewimage.php at the reverse proxy/WAF layer, and review access logs for requests carrying hashp=shared. Because exposed database backups contain password hashes, consider rotating credentials if sensitive backups were reachable.

Affected
Dolibarr ERP/CRM23.0.4 before 24.0.1 (fixed in 24.0.1)
Estimated exposure
moderate≈10,000–30,000 internet-exposed instances (estimate) — Dolibarr is a widely self-hosted open-source ERP/CRM popular with SMBs, and public internet scans typically show on the order of ten thousand exposed instances, though the total install base is larger and only internet-facing deployments…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Dolibarr 23.0.4 before 24.0.1 ontains 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
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.