Description
Usermin through 2.570 contains a path traversal vulnerability in mailbox/detachall.cgi that allows remote unauthenticated attackers to write files outside the temporary directory via unsanitized attachment filenames. Attackers can email attachments with ../ sequences in filenames, and when the recipient downloads all attachments, files like ~/.forward are overwritten, enabling command execution.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| webmin | usermin | 0 to <=2.570 [affected] |
References
- https://github.com/webmin/usermin/issues/142 (issue-tracking)
- https://github.com/webmin/usermin (product)
- https://github.com/webmin/usermin/commit/cb4614e8319e0932b10533a4d5606debf5f40e14 (patch)
- https://github.com/webmin/usermin/blob/2.570/mailbox/detachall.cgi#L43-L51 (technical-description)
- https://hackmd.io/@leediay/H144QKY6zl (technical-description)
- https://www.vulncheck.com/advisories/usermin-through-2.570-path-traversal-file-write-via-detachall-cgi (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 07 Nov 2026 08:06 UTC.