# CVE-2019-3902

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-04-22 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2019-3902, MGASA-2019-0250, SUSE-SU-2020:1709-1, SUSE-SU-2020:1709-2, SUSE-SU-2020:3003-1, GHSA-mq66-vcfc-8246, PYSEC-2019-188, UBUNTU-CVE-2019-3902, DEBIAN-CVE-2019-3902, DLA-1764-1, openSUSE-SU-2020:0869-1, openSUSE-SU-2020:0880-1
- Record: https://cvemate.com/vulnerability/CVE-2019-3902 · JSON: https://cvemate.com/vulnerability/CVE-2019-3902/json

## Description

```text
A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.
```

## Signals

- CVSS: 5.9 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 1.362%, percentile 72.721%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine mercurial (Alpine Linux): \< 4.9-r0 \| \< 4.5.2-r1 \| \< 4.6.1-r1
- debian mercurial (Debian): \< 4.9-1 \| \< 3.1.2-2+deb8u7
- ubuntu mercurial (Ubuntu): \< 2.8.2-1ubuntu1.4+esm1 \| \< 3.7.3-1ubuntu1.2+esm2 \| \< 4.5.3-1ubuntu2.2
- debian debian\_linux: 8.0
- mageia mercurial (Mageia): \< 4.9.1-1.mga6
- mageia mercurial (Mageia): \< 4.9.1-1.mga7
- mercurial mercurial: \< 4.9
- PyPI mercurial (PyPI): \< 4.9
- redhat enterprise\_linux: 7.0
- opensuse mercurial&distro=openSUSE Leap 15.1 (openSUSE): \< 4.5.2-lp151.6.3.1
- opensuse mercurial&distro=openSUSE Leap 15.2 (openSUSE): \< 4.5.2-lp152.7.3.1
- suse mercurial&distro=SUSE Linux Enterprise Module for Python 2 15 SP1 (SUSE Linux Enterprise): \< 4.5.2-3.9.44
- suse mercurial&distro=SUSE Linux Enterprise Module for Python 2 15 SP2 (SUSE Linux Enterprise): \< 4.5.2-3.9.44
- suse mercurial&distro=SUSE Linux Enterprise Software Development Kit 12 SP5 (SUSE Linux Enterprise): \< 2.8.2-15.18.4
- the mercurial project mercurial: \< 4.9

## References (first 20 of 25)

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902>
- <https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html>
- <https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29>
- <https://usn.ubuntu.com/4086-1/>
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html>
- <https://security.alpinelinux.org/vuln/CVE-2019-3902>
- <https://advisories.mageia.org/MGASA-2019-0250.html>
- <https://bugs.mageia.org/show_bug.cgi?id=25291>
- <https://www.suse.com/support/update/announcement/2020/suse-su-20201709-1/>
- <https://bugzilla.suse.com/1133035>
- <https://www.suse.com/security/cve/CVE-2019-3902>
- <https://www.suse.com/support/update/announcement/2020/suse-su-20201709-2/>
- <https://www.suse.com/support/update/announcement/2020/suse-su-20203003-1/>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-3902>
- <https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2019-188.yaml>
- <https://usn.ubuntu.com/4086-1>
- <https://github.com/advisories/GHSA-mq66-vcfc-8246>
- <https://ubuntu.com/security/CVE-2019-3902>
- <https://ubuntu.com/security/notices/USN-4086-1>
- <https://ubuntu.com/security/notices/USN-5102-1>

---

Data as of 2026-12-05T03:46:10.354Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
