Improper validation of certificate with host mismatch in Mongoose - #VU168695
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to impersonate a TLS server identified by an IP address and potentially read or alter application traffic.
The vulnerability exists due to improper certificate identity validation in Mongoose's built-in TLS client when it falls back to the subject common name after an IP subject alternative name mismatch. A remote attacker can present a certificate issued by a certificate authority the client trusts to impersonate an IP endpoint the certificate is not authorized to represent.