Skip to main content
EPSS 0.4%top 68%

Dolibarr before 23.0.4 authorizes REST API document deletion against the wrong permission. (CVE-2026-81729)

0
High
Published: 08/27/2026 (08/27/2026, 21:31:53 UTC)
Source: GCVE Database

Description

Dolibarr versions before 23.0.4 contain an authorization flaw in the REST API document deletion functionality. The API incorrectly checks 'read' permission instead of 'write' permission when processing document deletion requests. This allows authenticated users with only read permissions on certain modules to delete documents such as third-party files, invoices, orders, proposals, project files, and generated PDFs without proper authorization. The issue was fixed starting from version 23.0.4 by correcting the permission check to require 'write' access.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

Affected versions
<23.0.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 05:37:43 UTC

Technical Analysis

In Dolibarr versions prior to 23.0.4, the REST API endpoint for deleting documents calls the function dol_check_secure_access_document() with the mode argument set to 'read' instead of 'write'. This incorrect permission check allows an authenticated API user who has only read permissions (e.g., societe:lire or facture:lire) and lacks create, write, delete, or admin permissions to delete documents associated with those modules. The vulnerability affects document deletion operations including third-party files, invoices, orders, proposals, project files, and generated PDFs. The flaw was corrected in version 23.0.4 by changing the mode argument to 'write' in the relevant API code.

Potential Impact

An authenticated user with only read permissions on document-bearing modules can delete documents permanently without having the appropriate write or delete permissions. This leads to unauthorized data modification and loss of important documents with no recovery path. The integrity of document data is compromised, but confidentiality and availability are not directly affected. The vulnerability has a CVSS score of 6.5, indicating a high severity impact primarily due to unauthorized integrity modification.

Mitigation Recommendations

Upgrade Dolibarr to version 23.0.4 or later, where the permission check for document deletion in the REST API has been corrected to require 'write' access. Until the upgrade is applied, restrict API user permissions to prevent users with only read access from accessing the document deletion endpoint. No other mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4c6q-r9ww-p823
Osv Schema Version
1.4.0
Aliases
["CVE-2026-81729"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a91a858acd9273b490696c0

Added to database: 08/28/2026, 15:25:12 UTC

Last enriched: 09/08/2026, 05:37:43 UTC

Last updated: 10/12/2026, 18:48:23 UTC

Views: 30

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses