CVE-2026-134463: Webmin through 2.670 Improper Certificate Validation in switch_smtp_to_ssl
Webmin through 2.670 contains an improper certificate validation vulnerability in switchsmtptossl in mailboxes/boxes-lib.pl and status/smtp-monitor.pl, which calls Net::SSLeay::connect without certificate verification or a hostname check. Man-in-the-middle attackers can present any certificate when SMTP with SSL or STARTTLS is configured to capture SMTP AUTH credentials and message content.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Webmin through 2.670 are exposed when SMTP with SSL or STARTTLS is configured through the affected code paths in mailboxes/boxes-lib.pl or status/smtp-monitor.pl. The issue affects connections made by switch_smtp_to_ssl.
What does an attacker need to exploit this?
An attacker must be able to act as a man in the middle on the SMTP connection. No Webmin privileges or user interaction are required, but the attacker must be positioned to intercept or modify the connection.
What can a successful attacker obtain or alter?
An attacker can present an arbitrary certificate because the connection does not verify either the certificate or hostname. This can expose SMTP AUTH credentials and message content, and may allow limited integrity impact on the SMTP traffic.