CVE-2026-81729

Source
https://cve.org/CVERecord?id=CVE-2026-81729
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81729.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-81729
Published
2026-08-27T20:07:34.181Z
Modified
2026-08-30T03:30:58.292498415Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Dolibarr before 23.0.4 Incorrect Authorization on REST API Document Deletion
Details

Dolibarr before 23.0.4 authorizes REST API document deletion against the wrong permission. Documents::delete() in htdocs/api/class/apidocuments.class.php calls dolchecksecureaccessdocument() with the mode argument 'read' when handling DELETE /api/index.php/documents, while the sibling builddoc() path passes 'write', the correct mode for an operation that modifies stored data. An authenticated API user who holds only a read permission for a document-bearing module, for example societe:lire or facture:lire, and no create, write, delete or admin permission, therefore passes the check and can permanently delete that module's documents: third-party files, invoices, orders, proposals, project files and generated PDFs, with no recovery path. The call site is htdocs/api/class/apidocuments.class.php:1276 in 23.0.3 and passes 'write' from 23.0.4 onward.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81729.json",
    "cwe_ids": [
        "CWE-863"
    ],
    "cna_assigner": "VulnCheck"
}
References

Affected packages

Git / github.com/dolibarr/dolibarr

Affected ranges

Type
GIT
Repo
https://github.com/dolibarr/dolibarr
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "23.0.4"
        }
    ]
}

Affected versions

14.*
14.0.0
14.0.1
23.*
23.0.0
23.0.1
23.0.2
23.0.3
3.*
3.3.beta1_20121221
3.4.beta1_20130429
3.4.beta1_20130502
3.5.beta1_20131106
3.5.beta1_20131120
3.6.0
3.6.0-alpha
3.6.0-beta
3.6.1
3.6.2
3.6.beta1_20140514
3.7.0
3.7.1
3.8.0-beta
4.*
4.0.0-rc
5.*
5.0.0-beta
6.*
6.0.0-beta
Other
lne_audit_init_20260601

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81729.json"