CVE-2018-1000132Mercurial
Critical 9.1 No auth needed
Follow: this CVE · Mercurial · Mercurial We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.0
- 9.1
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Mar 14, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Mercurial version 4.5 and earlier contains a Incorrect Access Control (CWE-285) vulnerability in Protocol server that can result in Unauthorized data access. This attack appear to be exploitable via network connectivity. This vulnerability appears to have been fixed in 4.5.1.
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 |
< 4.5.1 |
4.5.1 |
pip install "mercurial>=4.5.1" |
| PyPI | mercurial |
< 4.5.1 |
4.5.1 |
pip install "mercurial>=4.5.1" |
Per OSV / GitHub Advisories (GHSA-4mr4-7vjv-9hm6, PYSEC-2018-87). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mercurial | mercurial | < 4.5.1 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org
- www.mercurial-scm.org Release Notes Vendor Advisory