PYSEC-2026-665

    Dashboard / Vulnerabilities / PYSEC-2026-665

    PYSEC-2026-665

    Published: 2 Jul 2026Last Modified: 6 Jul 2026

    Summary: Mercurial Improper Certificate Validation vulnerability

    Details: 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.

    Affected packages

    Package

    Name: mercurial

    Purl: pkg:pypi/mercurial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.6.4

    Affected versions

    0.8.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High