Live threats

All CVEs / Mercurial

CVE-2010-4237Mercurial

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Oct 29, 2019
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mercurial.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mercurial < 1.6.4 1.6.4 pip install "mercurial>=1.6.4"
PyPI mercurial < 1.6.4 1.6.4 pip install "mercurial>=1.6.4"

Per OSV / GitHub Advisories (GHSA-7gf7-7wx4-mxmw, PYSEC-2026-665). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mercurialmercurial< 1.6.4

Official sources

References

Links published by the sources. Open them with care.