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.
Published: 2026-11-06
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

This vulnerability allows an attacker to exploit the path traversal flaw in Usermin’s mailbox/detachall.cgi script to write files outside the intended temporary directory. By sending email attachments whose filenames contain directory traversal sequences, the victim’s download of all attachments triggers the script to create or overwrite arbitrary files such as ~/.forward. Overwriting this file enables the attacker to execute commands with the mail user’s privileges, potentially compromising the entire user account or system.

Affected Systems

All Usermin deployments using version 2.570 or earlier are affected, regardless of platform. The flaw resides in the Usermin mailbox module’s detachall.cgi handler and exploits unsanitized attachment filenames.

Risk and Exploitability

The CVSS score of 8.6 reflects the high severity of this flaw. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack path requires a remote, unauthenticated attacker to send a crafted email with malicious attachment names to a victim. When that victim downloads all attachments, the vulnerable script writes the attacker‑supplied files outside the temporary directory, overwriting sensitive files such as ~/.forward and permitting remote code execution. Existing mitigations are insufficient because the flaw is triggered by standard attachment download behaviour.

Generated by OpenCVE AI on November 6, 2026 at 16:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Usermin to version 2.571 or later where the path traversal issue is fixed.
  • Disable or restrict the use of the detachall.cgi feature in Usermin so that attachment download is not automatically performed.
  • Implement file permission controls or use mail‐filtering tools to prevent overwriting of crucial files such as ~/.forward during attachment processing.

Generated by OpenCVE AI on November 6, 2026 at 16:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title Usermin through 2.570 Path Traversal File Write via detachall.cgi
First Time appeared Webmin
Webmin usermin
Weaknesses CWE-22
CPEs cpe:2.3:a:webmin:usermin:*:*:*:*:*:*:*:*
Vendors & Products Webmin
Webmin usermin
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-06T17:26:03.502Z

Reserved: 2026-11-06T01:04:42.202Z

Link: CVE-2026-123621

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T15:17:19.730

Modified: 2026-11-06T18:18:04.240

Link: CVE-2026-123621

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T16:45:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')