CVE-2019-3902
MEDIUM 5.9CVSS 3.0Mercurial Path Traversal/Link Following vulnerability
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.
- Published
- 22 Apr 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-59
- Also known as
- GHSA-mq66-vcfc-8246PYSEC-2019-188
- Sources
- NVDJSONOSV GHSA-mq66-vcfc-8246JSONOSV PYSEC-2019-188JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 5.1 | CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mercurial | mercurialcpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* |
< 4.9 | 4.9 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | PyPI | mercurial | < 4.9 | 4.9 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html · WEB
- https://usn.ubuntu.com/4086-1/ · WEB
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-3902 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2019-188.yaml · WEB
- https://github.com/advisories/GHSA-mq66-vcfc-8246 · ADVISORY
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 22 Apr 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Apr 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Feb 2022)