CVE-2026-81730: Dolibarr 9.0.0 through 23.0.4 saves inbound email attachments under the name supplied in the message's MIME he
CVE-2026-81730 is a high-severity flaw (CVSS 8.2) affecting dolibarr erp\/crm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 54%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-08-27 |
| Last modified | 2026-08-31 |
Last updated 2026-08-31 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-81730?
dolibarr erp\/crm: upgrade to 24.0.0. Exact commands for each OS are on this page.
Is CVE-2026-81730 being exploited?
CVE-2026-81730 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-81730 affect?
CVE-2026-81730 affects dolibarr erp\/crm. Severity is high (CVSS 8.2). 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 buil
How urgent is CVE-2026-81730?
Priority 45/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-22666 HIGH 7.2 UPGRADE Dolibarr ERP/CRM versions prior to 23.0.2 contain an authenticated remote code execution vulnerability in the
- CVE-2026-77923 MEDIUM 4.3 UPGRADE Dolibarr 21.0.0 before 24.0.0 contains an authorization bypass vulnerability caused by an inverted boolean con
- CVE-2026-81729 MEDIUM 6.5 UPGRADE Dolibarr before 23.0.4 authorizes REST API document deletion against the wrong permission
- CVE-2026-81728 HIGH 8.1 UPGRADE Dolibarr before 24.0.0 contains a SQL injection in its CSV and XLSX import wizard