Skip to main content

Webmin CVE-2026-49103

| EUVDEUVD-2026-32532 CRITICAL
Path Traversal: '../filedir' (CWE-24)
2026-05-27 cve@mitre.org GHSA-6m8g-7xrr-8q5f
9.4
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged Webmin user
  2. Delivery
    Deliver email with traversal-laden attachment filename
  3. Exploit
    Invoke detachall.cgi to save attachments
  4. Execution
    Filename escapes intended save directory
  5. Impact
    Overwrite 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Webmin 0 <2.640

Affected Packages

euvd webmin fix: 2.640

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

NVD PRIMARY 9.4 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy