CVE-2026-123621

Usermin through 2.570 Path Traversal File Write via detachall.cgi

Published Nov 6, 2026 CVSS 4.0 · 8.6 High EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 6, 2026, 5:26 PM
Reserved
Nov 6, 2026, 1:04 AM
Status
Awaiting Analysis
Published
Nov 6, 2026, 3:17 PM
Modified
Nov 12, 2026, 9:30 PM