Mercurial before 1.6.4 fails to verify the Common Name field of SSL certificates which allows remote attackers who acquire a certificate signed by a Certificate Authority to perform a man-in-the-middle attack.
"https://github.com/pypa/advisory-database/blob/main/vulns/mercurial/PYSEC-2026-665.yaml"