Home / Dolibarr / dolibarr / CVE-2026-81730
CVE-2026-81730: is it exploited, and which versions of dolibarr are affected and fixed?
CVE-2026-81730 is a path traversal (reading or writing files outside the intended folder) vulnerability in dolibarr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: dolibarr from 9.0.0 before 24.0.0 (CVE record by VulnCheck). Fixed in 24.0.0 (CVE record by VulnCheck). Severity: High (8.8, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-81730?
Dolibarr 9.0.0 through 23.0.4 Path Traversal via EmailCollector Attachment Filename
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 basename. The global saveAttachment() in htdocs/emailcollector/lib/emailcollector.lib.php builds $filepath = $path . $filename . '.' . $ext and hands it to file_put_contents(), and the private saveAttachment() in htdocs/emailcollector/class/emailcollector.class.php writes to $destdir.'/'.$filename; the name reaches both from the attachment's own getName() or getFilename() value by way of the record-join, create-ticket and create-project operations. A traversal sequence in the filename therefore survives intact, so any sender who can email a mailbox that an EmailCollector monitors, which is the module's ordinary use for a support or ticket inbox, can place attacker-controlled content outside the per-object attachment directory without holding a Dolibarr account. Under the hardened layout Dolibarr's SECURITY.md requires, with htdocs read-only, the write is confined to the documents tree and corrupts or forges other objects' documents; where htdocs is writable the same primitive reaches a web-executable path. Version 24.0.0 applies dol_sanitizePathName() and dol_sanitizeFileName() before the write.
From the CVE record by VulnCheck, last updated September 24, 2026, 14:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Dolibarr | dolibarr | from 9.0.0 before 24.0.0 | 24.0.0 |
As the CVE record by VulnCheck states it, last updated September 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dolibarr | dolibarr erp\/crm | from 9.0.0 before 24.0.0 | application |
NVD analysis (status Analyzed), last modified August 31, 2026, 18:08 UTC.
How severe is CVE-2026-81730?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N | VulnCheck |
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-81730 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 28, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 33.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- Patch Commit patch
- https://github.com/Dolibarr/dolibarr product
- https://github.com/Dolibarr/dolibarr/blob/23.0.4/htdocs/emailcollector/lib/emailcollector.lib.php#L187 technical-description
- VulnCheck Advisory: Dolibarr 9.0.0 through 23.0.4 Path Traversal via EmailCollector Attachment Filename third-party-advisory
Who found and reported it?
- Michael Holmquist (HASP Labs) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 27, 2026
- Published
- August 27, 2026, 20:07 UTC
- CVE record updated
- September 24, 2026, 14:19 UTC by VulnCheck
- NVD
- Analyzed, last modified August 31, 2026, 18:08 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect dolibarr?
- Nov 13, 2026CVE-2026-89037 dolibarr: authorization bypass through a user-controlled key (IDOR)
- Nov 10, 2026CVE-2026-125754 dolibarr: authorization bypass through a user-controlled key (IDOR)
- Nov 5, 2026CVE-2026-33944 dolibarr: SQL injection
- Oct 26, 2026CVE-2026-116219 dolibarr: OS command injection
- Oct 26, 2026CVE-2026-116218 dolibarr: SQL injection
- Oct 19, 2026CVE-2026-112361 Dolibarr: protection mechanism failure
- Oct 15, 2026CVE-2026-110874 dolibarr: deserialization of untrusted data
- Oct 8, 2026CVE-2026-107706 dolibarr: incorrect authorization
Questions about CVE-2026-81730
Is CVE-2026-81730 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of dolibarr are affected by CVE-2026-81730?
dolibarr from 9.0.0 before 24.0.0, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-81730?
24.0.0, per the CVE record by VulnCheck. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-81730?
High (8.8, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-81730?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.