Live threats

All CVEs / Mercurial

CVE-2016-3069Mercurial

High 8.8 No auth needed

Priority
68
CVSS 3.0
8.8
EPSS
5.0%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Apr 13, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git 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 < 3.7.3 3.7.3 pip install "mercurial>=3.7.3"
PyPI mercurial < 3.7.3 3.7.3 pip install "mercurial>=3.7.3"

Per OSV / GitHub Advisories (GHSA-8fm8-7365-5rh2, PYSEC-2016-27). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mercurialmercurial≤ 3.7.2
debiandebian_linux7.0
debiandebian_linux8.0
suselinux_enterprise_debuginfo11
opensuseopensuse13.2
suselinux_enterprise_software_development_kit11
suselinux_enterprise_software_development_kit12
suselinux_enterprise_software_development_kit12
opensuseleap42.1
fedoraprojectfedora22
fedoraprojectfedora23
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_hpc_node7.0
redhatenterprise_linux_hpc_node_eus7.2
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_aus7.2
redhatenterprise_linux_server_eus7.2
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.