Auth bypass in Dolibarr
CVE-2026-89037
Dolibarr before 24.0.2 contains an insecure direct object reference vulnerability in the REST Documents API for the ticket module that allows authenticated API users to access ticket attachments belonging to other companies by omitting a company-scope check that is only applied via a session variable set during public ticket authentication, which REST API authentication never sets. Attackers with ticket read permission can enumerate predictable ticket identifiers and supply them to the documents endpoint or download path to retrieve sensitive attachments such as invoices and contracts belonging to other third parties.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 29.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/Dolibarr/dolibarr/releases/tag/24.0.2 (release-notes)
- github.com/Dolibarr/dolibarr/commit/f815deb1c234168a69623101a26ae71f8c384c46 (issue-tracking, patch)
- www.vulncheck.com/advisories/dolibarr-idor-via-ticket-documents-api (third-party-advisory)