CVE-2026-81730
Last modified
CVE-2026-81730 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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 . EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Dolibarr | dolibarr | >= 9.0.0, < 24.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-81730?
How severe is CVE-2026-81730?
How do I fix CVE-2026-81730?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-81725NLTK before 3.10.3 contains a regular expression denial of s…3.7
- CVE-2026-81726NLTK through 3.10.3 contains a path traversal vulnerability …7
- CVE-2026-81727NLTK versions before 3.10.3 contain a filesystem containment…7.1
- CVE-2026-81728Dolibarr before 24.0.0 contains a SQL injection in its CSV a…8.1
- CVE-2026-81729Dolibarr before 23.0.4 authorizes REST API document deletion…6.5
- CVE-2026-8173The web GUI of affected Murrelektronik Xelity switches logs …5.3
- CVE-2026-81731Frappe 15.11.0 through 16.32.0 stores and renders the worksp…5.4
- CVE-2026-81732WWBN AVideo through version 30.0 fails to enforce authentica…6.9
- CVE-2026-81733WWBN AVideo through 30.0 (and master up to commit 4cb576e) c…5.1
- CVE-2026-81735startServer.ts in the mcp-http-server package of UI-TARS-des…10
- CVE-2026-8174Zohocorp Zoho Mail wordpress plugin is vulnerable to Cross-S…5.7
- CVE-2026-81743Affected versions of Flowintel allow the LOG_FILE configurat…7.5
Are you affected by CVE-2026-81730?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
