Read the docs

Insecure direct object reference in Dolibarr ticket documents API

Priority LOW 31CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-639.

Summary

Dolibarr before 24.0.2 contains an insecure direct object reference (CWE-639) in the REST Documents API for the ticket module. The company-scope check is applied only through a session variable that REST API authentication never sets, so authenticated API users can access ticket attachments belonging to other companies. An attacker with ticket read permission can retrieve sensitive attachments such as invoices and contracts belonging to other third parties.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00352 29th percentileScored 2026-11-16
Fix Fixed dolibarr (Dolibarr): 24.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Dolibarrdolibarrbefore 24.0.224.0.2Patch availableCNA
  • dolibarr VendorDolibarr Affected before 24.0.2 Fixed in 24.0.2 Patch available CNA

Remediation

Upgrade Dolibarr to version 24.0.2, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA dolibarr (Dolibarr) Fixed in 24.0.2

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-89037
  2. 2026-11-13 Alias added: GHSA-p4qr-g4hj-gq7w
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2022-21049 Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. CVSS 3.1CRITICAL 9.8
  • TI-2022-03742 SQL Injection in dolibarr/dolibarr CVSS 3.1CRITICAL 9.8
  • TI-2023-14191 Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an… CVSS 3.1HIGH 8.8
  • TI-2018-15582 Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php CVSS 4.0CRITICAL 9.3
  • TI-2018-07157 SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute… CVSS 3.0CRITICAL 9.8
  • TI-2019-15505 Dolibarr ERP/CRM 10.0.1 SQL Injection via elemid CVSS 4.0HIGH 8.8
See all 170 →

Sources