CVE-2010-4237Mercurial
Medium 5.9 No auth needed
Follow: this CVE · Mercurial · Mercurial We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mercurial.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mercurial | mercurial | < 1.6.4 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org Issue Tracking Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- bz.mercurial-scm.org Vendor Advisory
- security-tracker.debian.org Third Party Advisory