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.

PackageEcosystemFixed in
mercurialPyPI4.9
mercurialUbuntu:Pro:14.04:LTS2.8.2-1ubuntu1.4+esm1
mercurialmercurial4.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

VendorProductVersions
The Mercurial Projectmercurialbefore 4.9
PyPImercurial0
The Mercurial Projectmercurial4.9
alpinemercurial0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›