Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-81730— Dolibarr 9.0.0 through 23.0.4 Path Traversal via EmailCollector Attachment Filename

Quick assessment

Affected
Dolibarr dolibarr
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Dolibarr是Dolibarr基金会开源的一款企业资源计划软件。 Dolibarr 9.0.0版本至23.0.4版本存在路径遍历漏洞,该漏洞源于对邮件附件文件名处理不当,导致路径遍历,攻击者可能无需账户即可将攻击者控制的内容写入附件目录之外,破坏或伪造其他对象的文档,在htdocs可写时可能导致任意代码执行。

CVSS 8.2 · High EPSS 0.56% · P45

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
Dolibarr dolibarr 9.0.0< 24.0.0 affected
24.0.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-81730

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Dolibarr 9.0.0 through 23.0.4 Path Traversal via EmailCollector Attachment Filename
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Dolibarr 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Dolibarr是Dolibarr基金会开源的一款企业资源计划软件。 Dolibarr 9.0.0版本至23.0.4版本存在路径遍历漏洞,该漏洞源于对邮件附件文件名处理不当,导致路径遍历,攻击者可能无需账户即可将攻击者控制的内容写入附件目录之外,破坏或伪造其他对象的文档,在htdocs可写时可能导致任意代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Dolibarr dolibarr 9.0.0 ~ 24.0.0 -

II. Public POCs for CVE-2026-81730

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 4315 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-81730

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-81730 (1)

Vendor Advisories for CVE-2026-81730 (1)

Vendor Pages for CVE-2026-81730 (1)

Same Patch Batch · Dolibarr · 2026-08-27 · 3 CVEs total

CVE-2026-81728 8.1 HIGH Dolibarr before 24.0.0 SQL Injection via the CSV and XLSX Import Update Keys
CVE-2026-81729 6.5 MEDIUM Dolibarr before 23.0.4 Incorrect Authorization on REST API Document Deletion

IV. Related Vulnerabilities

V. Comments for CVE-2026-81730

No comments yet


Leave a comment