Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Webmin user
-
DeliveryDeliver email with traversal-laden attachment filename
-
ExploitInvoke detachall.cgi to save attachments
-
ExecutionFilename escapes intended save directory
-
ImpactOverwrite sensitive files toward code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
|
| Exploitation Conditions | Exploitation requires an authenticated Webmin account (PR:L) with access to the mailboxes/webmail component enabled, plus an email attachment whose filename the attacker can set - most directly achieved by the attacker mailing a crafted attachment to a mailbox they can then process. The triggering action is invoking detachall.cgi's attachment-saving path. No additional user interaction is needed (UI:N). Exploitation is limited to Webmin versions before 2.640, requires the mailboxes module to be in use, and depends on the attacker holding valid credentials - so it is not exploitable by an unauthenticated remote attacker, and the SSVC 'Automatable: no' rating reflects these per-target prerequisites. |
| Impact | Signals are mostly aligned toward a serious but not yet exploited issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a network-reachable, low-complexity attack with no user interaction, but PR:L confirms an authenticated account is required, which materially lowers the exposure compared to a pre-auth bug. The 9.4 score is driven by uniformly High vulnerable- and subsequent-system impact (VC/VI/VA and SC/SI/SA all H), consistent with an arbitrary file write that can escalate to system compromise. CISA SSVC reinforces a measured priority: Exploitation 'none', Automatable 'no', but Technical Impact 'total'. No EPSS score was provided in the input, so exploitation probability cannot be quantified here, and there is no KEV listing or POC. Note a tagging conflict: the intelligence tag is 'Information Disclosure', yet the CWE-24 path traversal in a file-save routine and the VI:H/SI:H integrity ratings indicate the dominant impact is arbitrary file write, not just disclosure - the tag appears to understate the risk. |
| Exploit ScenarioDerived | An authenticated low-privileged Webmin user sends or receives an email containing an attachment whose MIME filename embeds traversal sequences or an absolute path (for example, name fields like '..%2f..%2fpath/file'). When the user runs the 'detach all attachments' function, detachall.cgi writes the attachment outside the intended save directory, allowing overwrite of sensitive files and potentially leading to code execution. No public proof-of-concept has been identified, and the attack hinges on the low complexity (AC:L) and lack of required interaction (UI:N) noted in the CVSS vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Path traversal in Webmin's mailboxes component before version 2.640 lets an authenticated user write saved attachment files outside the intended directory by controlling the attachment's filename. The flaw lives in mailboxes/detachall.cgi, which constructs the on-disk filename directly from the email attachment's MIME name without stripping path separators, so a crafted name can redirect the write to an attacker-chosen location. Carrying a CVSS 4.0 base score of 9.4 with total technical impact, the issue is fixed in 2.640; CISA's SSVC framework currently lists exploitation status as none and no public exploit has been identified.
RemediationAI
Upgrade to Webmin 2.640 or later, which is the vendor-released fix containing commit cf432879a14568c4bb44cd2f9e5a9bd0e168edc1 (verifiable in the 2.630...2.640 comparison at https://github.com/webmin/webmin/compare/2.630...2.640); the third-party advisory is https://vuldb.com/vuln/366419. If immediate upgrade is not possible, reduce exposure by restricting the mailboxes/webmail module to trusted administrators only and removing or disabling the module for accounts that do not need it (trade-off: users lose attachment-handling functionality in the Webmin/Usermin mail interface). Additionally, limit network access to the Webmin port (default 10000) to administrative networks and audit the set of accounts that can authenticate, since the attack requires a valid low-privileged login. Avoid using the 'detach all attachments' action on untrusted mailboxes until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Webmin is a Perl-based web administration interface for Unix/Linux systems, and the affected code is its mailboxes module (the IMAP/POP webmail front end shared with Usermin). The root cause is CWE-24 (Path Traversal: '../filedir'): when a user invokes the 'detach all attachments' action, detachall.cgi takes the filename from each MIME attachment part and uses it verbatim to build the save path. Because MIME attachment names are attacker-controllable and were not sanitized, directory-traversal sequences or absolute path fragments in the name flow into the file write. The vendor fix demonstrates the issue precisely - the patched detachall.cgi now strips CR/LF/NUL bytes, converts backslashes to slashes, reduces the name to its basename via s/^.*\///g, blanks out dot-only names, and falls back to a generated 'fileN' name. The companion change in detach.cgi adds similar filename scrubbing plus forces SVG attachments to be served as text/plain to prevent script execution from the Webmin origin, though the CVE description scopes this CVE to detachall.cgi.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
1DescriptionCVE.org
Webmin before 2.640 does not safely construct a filename for saving of an attachment within the mailboxes component. This occurs in mailboxes/detachall.cgi.
Executive ViewAI
Webmin versions before 2.640 contain a critical path traversal vulnerability in the mailboxes component that allows authenticated users to write arbitrary files to the server, potentially enabling privilege escalation or system compromise. Organizations running affected Webmin instances face risk of unauthorized file modification and loss of system integrity from insider threats or compromised administrative accounts.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-32532
GHSA-6m8g-7xrr-8q5f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB