PT-2026-82746 · Dolibarr · Dolibarr
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Dolibarr versions prior to 23.0.4
Description
An incorrect authorization check in the REST API allows authenticated users to delete documents using insufficient permissions. The
Documents::delete() function in htdocs/api/class/api documents.class.php calls dol check secure access document() using the read mode instead of the write mode when processing the DELETE /api/index.php/documents endpoint. Consequently, a user with only read permissions for a module (such as societe:lire or facture:lire) can permanently delete files, including invoices, orders, proposals, project files, and generated PDFs, without having create, write, delete, or admin privileges.Recommendations
Update to version 23.0.4 or later.
Exploit
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dolibarr