Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mercurial
  4. ›
  5. CVE-2016-3068

CVE-2016-3068: Mercurial arbitrary code execution via a crafted git ext:: URL

May 14, 2022 (updated September 24, 2024)

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.

References

  • github.com/advisories/GHSA-j7c2-rqm3-c97m
  • github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-26.yaml
  • nvd.nist.gov/vuln/detail/CVE-2016-3068
  • security.gentoo.org/glsa/201612-19
  • selenic.com/repo/hg-stable/rev/34d43cb85de8
  • web.archive.org/web/20200228003737/http://www.securityfocus.com/bid/85733
  • www.mercurial-scm.org/wiki/WhatsNew

Code Behaviors & Features

Detect and mitigate CVE-2016-3068 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.7.3

Fixed versions

  • 3.7.3

Solution

Upgrade to version 3.7.3 or above.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

pypi/mercurial/CVE-2016-3068.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.