Live threats

All CVEs / Mercurial

CVE-2017-1000115Mercurial

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
4.9%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Oct 5, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository

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 < 4.3.1 4.3.1 pip install "mercurial>=4.3.1"
PyPI mercurial < 4.3 4.3 pip install "mercurial>=4.3"

Per OSV / GitHub Advisories (GHSA-hvr9-wr9p-grgr, PYSEC-2017-88). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mercurialmercurial< 4.3
debiandebian_linux8.0
debiandebian_linux9.0
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_aus7.4
redhatenterprise_linux_server_aus7.6
redhatenterprise_linux_server_eus7.4
redhatenterprise_linux_server_eus7.5
redhatenterprise_linux_server_eus7.6
redhatenterprise_linux_server_tus7.4
redhatenterprise_linux_server_tus7.6
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.