CVE-2026-134640: Webmin through 2.670 Missing IMAP Certificate Validation in imap_login
Webmin through 2.670 contains an improper certificate validation vulnerability in imaplogin in mailboxes/folders-lib.pl that skips certificate verification and hostname checks for IMAP SSL connections. Man-in-the-middle attackers can present any certificate to capture IMAP credentials sent by the System and Server Status IMAP monitor and spoof monitor results.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to credential interception?
Webmin installations through version 2.670 are exposed when they use the System and Server Status IMAP monitor with an SSL IMAP connection. The affected imap_login code does not validate the server certificate or hostname.
What does an attacker need to exploit this issue?
An attacker needs a man-in-the-middle position on the connection between Webmin and the IMAP server. They can present an arbitrary certificate because certificate and hostname verification are skipped.
What is the practical impact of a successful attack?
A man-in-the-middle attacker can capture the IMAP credentials sent by the monitor and can spoof the monitor's results.
How can I determine whether my environment is affected?
Check whether the Webmin version is 2.670 or earlier and whether the System and Server Status IMAP monitor is configured to connect to an IMAP service over SSL. Systems meeting both conditions use the affected connection behavior.