CVE-2026-123621 | BDVDB-2026-401261 Detail
webminusermin
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.
Impact#
Per CVSS v3.1: confidentiality impact high, integrity impact high, availability impact high. Attack vector: network.
Weaknesses#
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References#
- https://github.com/webmin/usermin/issues/142
- https://github.com/webmin/usermin
- https://github.com/webmin/usermin/commit/cb4614e8319e0932b10533a4d5606debf5f40e14
- https://github.com/webmin/usermin/blob/2.570/mailbox/detachall.cgi#L43-L51
- https://hackmd.io/@leediay/H144QKY6zl
- https://www.vulncheck.com/advisories/usermin-through-2.570-path-traversal-file-write-via-detachall-cgi
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.