CVE-2018-1000132
Mercurial Incorrect Access Control vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
9.1
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.
- Record
CVE-2018-1000132- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:P/I:P/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-1000132- Updated
- 2026-11-02
EUVDEUVD-2018-0094 No score
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.
- Record
EUVD-2018-0094- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4mr4-7vjv-9hm6
9.3
Mercurial Incorrect Access Control vulnerability
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.
- Record
GHSA-4mr4-7vjv-9hm6- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-1000132
9.1
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.
- Record
ALPINE-CVE-2018-1000132- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSV
9.1
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.
- Record
CVE-2018-1000132- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2018-1000132
9.1
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.
- Record
DEBIAN-CVE-2018-1000132- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-4mr4-7vjv-9hm6
9.3
Mercurial Incorrect Access Control vulnerability
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.
- Record
GHSA-4mr4-7vjv-9hm6- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
OSVRHSA-2019:2276
7.5
Red Hat Security Advisory: mercurial security update
- Record
RHSA-2019:2276- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1000132
9.1
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.
- Record
UBUNTU-CVE-2018-1000132- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2018-0355 No score
Updated mercurial packages fix security vulnerabilities
This update provides mercurial version 4.6.2 and fixes the following security issues:
Fix the mpatch_apply function in mpatch.c that incorrectly proceeds in cases where the fragment start is past the end of the original data (CVE-2018-13346).
Fix mpatch.c that mishandles integer addition and subtraction (CVE-2018-13347).
Fix the mpatch_decode function in mpatch.c that mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data (CVE-2018-13348).
Remote attackers may bypass HTTP server permissions via batch wire protocol commands(CVE-2018-1000132).
- Record
MGASA-2018-0355- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10586-1 No score
mercurial-5.9.1-2.1 on GA media
These are all security issues fixed in the mercurial-5.9.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10586-1- Updated
- 2026-11-02
OSVPYSEC-2018-87 No score
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.
- Record
PYSEC-2018-87- Updated
- 2026-11-02
OSVSUSE-SU-2018:0933-1 No score
Security update for mercurial
This update for mercurial fixes the following issues:
- Fix HTTP server permissions bypass (CVE-2018-1000132, bsc#1085211):
- Record
SUSE-SU-2018:0933-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mercurialPyPI |
before 4.5.1 | 4.5.1 |
mercurialAlpine:v3.5 |
before 4.5.2-r0 | 4.5.2-r0 |
mercurialAlpine:v3.6 |
before 4.5.2-r0 | 4.5.2-r0 |
mercurialAlpine:v3.7 |
before 4.5.2-r0 | 4.5.2-r0 |
mercurialDebian:12 |
before 4.5.2-1 | 4.5.2-1 |
mercurialDebian:13 |
before 4.5.2-1 | 4.5.2-1 |
mercurialDebian:14 |
before 4.5.2-1 | 4.5.2-1 |
mercurialDebian:7 |
before 2.2.2-4+deb7u7, plus listed versions 2.2.2-32.2.2-42.2.2-4+deb7u12.2.2-4+deb7u22.2.2-4+deb7u32.2.2-4+deb7u42.2.2-4+deb7u52.2.2-4+deb7u6 |
2.2.2-4+deb7u7 |
mercurialDebian:8 From an advisory covering 6 CVEs |
before 3.1.2-2+deb8u5, plus listed versions 3.1.2-23.1.2-2+deb8u13.1.2-2+deb8u23.1.2-2+deb8u33.1.2-2+deb8u4 |
3.1.2-2+deb8u5 |
mercurialDebian:9 From an advisory covering 6 CVEs |
before 4.0-1+deb9u2, plus listed versions 4.0-14.0-1+deb9u1 |
4.0-1+deb9u2 |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mercurialPyPI |
before 4.5.1, plus listed versions 0.8.10.90.9.10.9.20.9.3 Show 45 moreShow less0.9.40.9.51.01.0.11.0.21.11.1.11.1.21.21.2.11.31.3.11.41.4.11.4.21.4.31.51.5.11.5.21.5.31.5.41.61.6.11.6.21.6.31.6.41.71.7.11.7.21.7.31.7.51.81.8.11.8.21.8.31.8.41.91.9.11.9.21.9.32.02.0.12.0.22.12.1.1 |
4.5.1 |
mercurialMageia:5 From an advisory covering 4 CVEs |
before 4.6.2-1.mga5 | 4.6.2-1.mga5 |
mercurialMageia:6 From an advisory covering 4 CVEs |
before 4.6.2-1.mga6 | 4.6.2-1.mga6 |
emacs-mercurialRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurial-elRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurialRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-debuginfoRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-hgkRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurialRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurial-elRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurialRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-debuginfoRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-hgkRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurialRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-debuginfoRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurialRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurial-elRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-hgkRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurialRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-debuginfoRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurialRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
emacs-mercurial-elRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurial-hgkRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:2.6.2-10.el7 | 0:2.6.2-10.el7 |
mercurialSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 2.8.2-15.10.1 | 2.8.2-15.10.1 |
mercurialUbuntu:14.04:LTS |
before 2.8.2-1ubuntu1.4, plus listed versions 2.6.3-12.7.2-12.8.1-22.8.2-1ubuntu12.8.2-1ubuntu1.3 |
2.8.2-1ubuntu1.4 |
mercurialUbuntu:16.04:LTS |
before 3.7.3-1ubuntu1.1, plus listed versions 3.4-1ubuntu23.6.2-1ubuntu23.7.3-1ubuntu1 |
3.7.3-1ubuntu1.1 |
mercurialopenSUSE:Tumbleweed From an advisory covering 9 CVEs |
before 5.9.1-2.1 | 5.9.1-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1000132 is a critical vulnerability (CVSS 9.1) in Mercurial, published March 14, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.67%, the 85th percentile. Fixed in mercurial 4.5.1.
References
lists.debian.org/debian-lts-announce/2018/03/msg00034.html
lists.debian.org/debian-lts-announce/2018/07/msg00005.html
mercurial-scm.org/wiki/WhatsNew
access.redhat.com/errata/RHSA-2019:2276
lists.debian.org/debian-lts-announce/2020/07/msg00032.html
nvd.nist.gov/vuln/detail/CVE-2018-1000132
Show 35 moreShow less
github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-87.yaml
github.com/advisories/GHSA-4mr4-7vjv-9hm6
security.alpinelinux.org/vuln/CVE-2018-1000132
security-tracker.debian.org/tracker/CVE-2018-1000132
advisories.mageia.org/MGASA-2018-0355.html
bugs.mageia.org/show_bug.cgi?id=22895
lists.opensuse.org/opensuse-updates/2018-04/msg00021.html
lists.opensuse.org/opensuse-updates/2018-07/msg00057.html
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1553265
bugzilla.redhat.com/show_bug.cgi?id=1594087
bugzilla.redhat.com/show_bug.cgi?id=1594090
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2276.json
access.redhat.com/security/cve/CVE-2018-13346
cve.org/CVERecord?id=CVE-2018-13346
nvd.nist.gov/vuln/detail/CVE-2018-13346
access.redhat.com/security/cve/CVE-2018-13347
cve.org/CVERecord?id=CVE-2018-13347
nvd.nist.gov/vuln/detail/CVE-2018-13347
access.redhat.com/security/cve/CVE-2018-1000132
cve.org/CVERecord?id=CVE-2018-1000132
suse.com/support/update/announcement/2018/suse-su-20180933-1
bugzilla.suse.com/1085211
suse.com/security/cve/CVE-2018-1000132
ubuntu.com/security/CVE-2018-1000132
mercurial-scm.org/repo/hg/rev/2ecb0fc535b1
suse.com/security/cve/CVE-2008-2942
suse.com/security/cve/CVE-2017-1000115
suse.com/security/cve/CVE-2017-1000116
suse.com/security/cve/CVE-2017-17458
suse.com/security/cve/CVE-2018-13346
suse.com/security/cve/CVE-2018-13348
suse.com/security/cve/CVE-2018-17983
suse.com/security/cve/CVE-2019-3902
Left out here: 91 versions. The JSON record has them.