CVE-2026-123621
8.8 HIGHpublic exploit availablePublished 2026-11-06 · Updated 2026-11-06
AI risk analysis
- Summary
- Usermin versions up to 2.570 contain a path traversal flaw in the mailbox/detachall.cgi endpoint that allows unauthenticated attackers to write arbitrary files outside the intended temporary directory by embedding ../ sequences in attachment filenames. This enables overwriting critical files like ~/.forward, leading to remote command execution when mail is processed.
- Exploitability
- Exploitation requires an attacker to send a specially crafted email with malicious attachment filenames containing path traversal sequences and wait for the victim to download all attachments via the vulnerable endpoint; UI interaction by the victim is required per CVSS metrics.
- Blast radius
- Successful exploitation grants remote command execution with the privileges of the Usermin service user, potentially compromising the entire host and enabling lateral movement within the mail infrastructure.
- Detection
- Defenders should monitor web server access logs for requests to /mailbox/detachall.cgi with suspicious filename parameters containing %2e%2e%2f or ../ sequences, especially when accompanied by POST requests and non-standard attachment filenames. Additionally, watch for unexpected modifications to sensitive files like ~/.forward or .procmailrc in user home directories coinciding with such requests.
- Prioritized remediation
- Upgrade to Usermin 2.590 or later, which patches the path traversal vulnerability in mailbox/detachall.cgi.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Public exploit & PoC references
All references
- https://github.com/webmin/usermin
- https://github.com/webmin/usermin/blob/2.570/mailbox/detachall.cgi#L43-L51
- https://github.com/webmin/usermin/commit/cb4614e8319e0932b10533a4d5606debf5f40e14
- https://github.com/webmin/usermin/issues/142
- https://hackmd.io/@leediay/H144QKY6zl
- https://www.vulncheck.com/advisories/usermin-through-2.570-path-traversal-file-write-via-detachall-cgi
- https://hackmd.io/@leediay/H144QKY6zl
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2021-48014PoC
- CRITICALCVE-2022-51022PoC
- HIGHCVE-2026-115924PoC
- CRITICALCVE-2026-46652PoC
- HIGHCVE-2026-65103PoC
- CRITICALCVE-2021-48016PoC
- CRITICALCVE-2026-62015
- CRITICALCVE-2026-71550PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.