{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-81730","published":"2026-08-27T20:18:55.480000Z","last_modified":"2026-08-31T18:08:50.367000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.8,"severity":"HIGH","vector":"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","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:*:*:*:*:*:*:*:*","part":"a","vendor":"dolibarr","product":"dolibarr_erp/crm","version_start_including":"9.0.0","version_end_excluding":"24.0.0"}],"cpes_truncated":false,"vendors":["dolibarr"],"products":["dolibarr/dolibarr_erp-crm"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-81730/","html_en":"/en/cve/CVE-2026-81730/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81730","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-81730"},"untrusted":{"vendor_name":"Dolibarr","product_name":"Dolibarr Erp/crm","desc_en":"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.","affected":[{"untrusted_vendor":"Dolibarr","untrusted_product":"dolibarr","versions":[]}],"references":[{"url":"https://github.com/Dolibarr/dolibarr","tags":["Product"]},{"url":"https://github.com/Dolibarr/dolibarr/blob/23.0.4/htdocs/emailcollector/lib/emailcollector.lib.php#L187","tags":["Release Notes"]},{"url":"https://github.com/Dolibarr/dolibarr/commit/264a44defb5e438689c75679617f6edc4c038abc","tags":["Patch"]},{"url":"https://www.vulncheck.com/advisories/dolibarr-9.0.0-through-23.0.4-path-traversal-via-emailcollector-attachment-filename","tags":["Patch","Product","Third Party Advisory"]}]}}