VDB
CVE-2019-3902
CVE-2019-3902
PUBLISHED
CVSS 5.1 MEDIUM
Mercurial Path Traversal/Link Following vulnerability
Reported by redhat · Published April 22, 2019
mercurial is fixed in 4.9 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mercurial | PyPI | 4.9 |
| mercurial | Ubuntu:Pro:14.04:LTS | 2.8.2-1ubuntu1.4+esm1 |
| mercurial | mercurial | 4.9 |
Risk scores
CVSS 3.0
5.1
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Mercurial Project | mercurial | before 4.9 |
| PyPI | mercurial | 0 |
| The Mercurial Project | mercurial | 4.9 |
| alpine | mercurial | 0, 0, 0 |
Timeline
- Apr 22, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-3902
vulnetix vdb fixes CVE-2019-3902
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-3902/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- USN-4086-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2019-3902 advisory
- https://github.com/advisories/GHSA-mq66-vcfc-8246 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2019-188.yaml advisory
- https://usn.ubuntu.com/4086-1 url