Skip to main content

Webmin CVE-2026-56021

| EUVDEUVD-2026-37908 MEDIUM
Incorrect Regular Expression (CWE-185)
2026-06-18 cisa-cg GHSA-xpvh-gv3p-w5qx
6.9
CVSS 4.0 · Vendor: cisa-cg
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed Webmin interface
  2. Delivery
    Craft HTTP request bypassing regex filter
  3. Exploit
    Read target .conf file contents
  4. Execution
    Extract embedded credentials or secrets
  5. Impact
    Use credentials for lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Incorrect input validation
Exploitation Conditions

No authentication is required - the vulnerable file-read code path is reachable before any credential check, as confirmed by PR:N and UI:N in the CVSS vector. The attacker must be able to reach the Webmin web interface over the network (typically TCP/10000). Exploitation is scoped to files ending in .conf within Webmin module directories; arbitrary filesystem reads outside this scope are not indicated by available data. Webmin running in default configuration on any supported OS platform is vulnerable. The primary limiting factor is network exposure: instances restricted to loopback or a private management network are not reachable by external attackers. No specific non-default configuration or feature toggle is required to trigger the vulnerability.

Impact

The CVSS 3.1 base score of 5.3 (Medium) reflects a limited-scope confidentiality impact (C:L) with no integrity or availability consequence, which is consistent with a read-only file disclosure primitive. The attack vector is maximally accessible - AV:N/AC:L/PR:N/UI:N - meaning any internet-exposed Webmin instance is vulnerable without any preconditions. The practical severity is therefore higher than the score implies: .conf files in Webmin module directories frequently contain database credentials, SMTP passwords, API tokens, and remote host access details, so successful exploitation can serve as a credential-harvesting step enabling lateral movement or privilege escalation. No EPSS score was provided in the input data; given the broad attack surface and unauthenticated network vector, real-world exploitation probability is non-trivial. No KEV listing and no POC code have been identified, which tempers urgency somewhat, but the simplicity of regex-bypass attacks and Webmin's widespread deployment in managed hosting environments make this a meaningful exposure. The CISA-CG reporter origin and published CSAF advisory suggest this was treated as a credible finding warranting formal tracking.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP GET request to a publicly accessible Webmin instance, constructing a file path that satisfies the flawed regex while pointing to a sensitive .conf file - for example, a module configuration containing a database password. The server responds with the raw file contents. No public POC has been identified at time of analysis, but the attack requires no authentication and low technical complexity given the regex-bypass class of vulnerability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 18, 2026

Unauthenticated remote file disclosure in Webmin (all versions prior to 2.641) exposes the contents of any .conf file residing within module directories. The root cause is a flawed regular expression (CWE-185) that was intended to restrict accessible file paths but can be bypassed with a crafted request, allowing unauthenticated network attackers to read configuration files that may contain credentials, API keys, or other sensitive deployment data. No public exploit or CISA KEV listing has been identified at time of analysis, though the zero-authentication, network-accessible attack surface makes this straightforward to probe at scale.

RemediationAI

The primary remediation is upgrading to Webmin 2.641 or later, which contains the corrected regular expression. The vendor security page (https://webmin.com/security/#webmin-prior-to-2641) and the official GitHub release (https://github.com/webmin/webmin/releases/tag/2.641) confirm 2.641 as the fix version. Note that the 2.641 release notes do not explicitly name this CVE fix, but the vendor advisory unambiguously identifies 2.641 as the remediated version. If immediate upgrade is not possible, the most effective compensating control is restricting network access to the Webmin web interface (default port 10000) to trusted IP ranges via firewall rules or a reverse proxy with IP allowlisting, which eliminates the unauthenticated network attack vector. Additionally, auditing .conf files in Webmin module directories for embedded credentials and rotating any exposed secrets is advisable regardless of patch status, since prior exploitation cannot be ruled out on long-running instances.

Affected VersionsENISA

Webmin *

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Webmin is a web-based Unix/Linux system administration interface (cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*). Its module architecture stores per-module configuration in .conf files under module-specific directories. The vulnerability is classified as CWE-185 (Incorrect Regular Expression): Webmin uses a regex pattern to gate file-read operations and restrict them to permitted paths, but the pattern contains a logical flaw that permits bypass. Because the regex check is the sole access control on this file-serving code path, and no authentication is required before the check is evaluated, an attacker can craft a request that satisfies the bypassed regex while still resolving to an arbitrary .conf file within the module directory tree. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms the code path is reachable over the network without credentials or user interaction.

Know when Webmin gets its next vulnerability

  • 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

Vendor (cisa-cg) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Network-reachable, no auth, no interaction; read-only .conf file disclosure yields partial confidentiality loss only, with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (cisa-cg).

CVSS VectorVendor: cisa-cg

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

Lifecycle Timeline

1
CVSS changed
Jun 18, 2026 - 19:38 NVD
5.3 (MEDIUM) 6.9 (MEDIUM)

DescriptionCVE.org

Webmin allows unauthenticated attackers to read the contents of any file ending in .conf within module directories, due to a bypassable regex pattern.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Webmin

View all
CVE-2019-15107 CRITICAL POC
9.8 Aug 16

An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2012-2982 MEDIUM POC
6.5 Sep 11

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid

CVE-2012-2983 MEDIUM POC
5.0 Sep 11

file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited

CVE-2022-36446 CRITICAL POC
9.8 Jul 25

software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi

CVE-2022-0824 HIGH POC
8.8 Mar 02

Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity

CVE-2019-12840 HIGH POC
8.8 Jun 15

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr

CVE-2017-15644 HIGH POC
8.6 Oct 19

SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h

CVE-2019-9624 HIGH POC
7.8 Mar 07

Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow

CVE-2015-2079 CRITICAL POC
9.9 Apr 28

Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t

CVE-2021-31761 CRITICAL POC
9.6 Apr 25

Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru

CVE-2017-15645 HIGH POC
8.8 Oct 19

CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati

CVE-2022-35132 HIGH POC
8.8 Oct 25

Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for

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