CVE-2026-81730: Dolibarr 9.0.0 through 23.0.4 saves inbound email attachments under the name supplied in the message's MIME headers without reducing it to a safe
Source GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 24.0.0 : patch affected systems soon.
Data as of 27 Nov 2026, 22:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 24.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
AI-suggested
Dolibarr version 24.0.0 includes a fix that sanitizes attachment filenames before saving, preventing directory traversal. Users should upgrade to version 24.0.0 or later to remediate this vulnerability. If upgrading is not immediately possible, ensure that the htdocs directory is set to read-only to limit the impact to the documents tree and prevent writes to web-executable paths. Patch status is not explicitly confirmed beyond the mention of version 24.0.0 applying sanitization functions; check the official Dolibarr advisory for the latest remediation guidance.
Description
Dolibarr versions 9.0.0 through 23.0.4 have a vulnerability in their EmailCollector module where inbound email attachments are saved using the filename supplied in the MIME headers without sanitization. This allows a malicious sender to craft filenames with directory traversal sequences, potentially writing files outside the intended attachment directory. Under secure configurations with htdocs read-only, the impact is limited to corrupting or forging documents in the documents tree. However, if htdocs is writable, this can lead to files being placed in web-executable paths. Version 24.0.0 addresses this by sanitizing filenames before saving.
References
- nvd.nist.gov/vuln/detail/CVE-2026-81730 (opens in a new tab)
- github.com/Dolibarr/dolibarr/commit/264a44defb5e438689c75679617f6edc4c038abc (opens in a new tab)
- github.com/Dolibarr/dolibarr (opens in a new tab)
- github.com/Dolibarr/dolibarr/blob/23.0.4/htdocs/emailcollector/lib/emailcollector.lib.php (opens in a new tab)
- vulncheck.com/advisories/dolibarr-9.0.0-through-23.0.4-path-traversal-via-emailcollector-attachment-filename (opens in a new tab)