{"id":"CVE-2026-89013","summary":"Dolibarr 23.0.4 \u003c 24.0.1 Authorization Bypass via hashp Parameter in document.php","details":"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.","modified":"2026-09-14T03:46:05.999114717Z","published":"2026-09-11T15:54:59.282Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89013.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89013.json"},{"type":"ADVISORY","url":"https://github.com/Dolibarr/dolibarr/releases/tag/24.0.1"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89013"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dolibarr-authorization-bypass-via-hashp-parameter-in-document-php"},{"type":"FIX","url":"https://github.com/Dolibarr/dolibarr/commit/cd05688dbed8a4af6eef32faf4fc1e823a37bce9"},{"type":"PACKAGE","url":"https://github.com/Dolibarr/dolibarr"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dolibarr/dolibarr","events":[{"introduced":"cb82037066c1c71f7c867482e9e92975222dfc14"},{"fixed":"b7958385f00a92219f76a4dfea67dae93df97a25"},{"fixed":"cd05688dbed8a4af6eef32faf4fc1e823a37bce9"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"23.0.4"},{"fixed":"24.0.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89013.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}