{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-3902","id":"CVE-2019-3902","title":"Mercurial Path Traversal/Link Following vulnerability","description":"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.","descriptionLong":"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":"2019-04-22T15:29:13.000Z","updated":"2026-06-17T02:35:50.260Z","reserved":"2019-01-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":5.1,"vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.0","score":5.1,"vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"redhat"},{"version":"3.0","score":5.1,"vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"redhat.com"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["The Mercurial Project mercurial"],"affectedProducts":[{"vendor":"The Mercurial Project","product":"mercurial","defaultStatus":null,"versions":[{"status":"affected","version":"before 4.9"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<4.9"],"fixed":["4.9"],"advisory":"GHSA-mq66-vcfc-8246"}],"cwes":["CWE-22","CWE-59"],"aliases":["GHSA-mq66-vcfc-8246","PYSEC-2019-188"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://usn.ubuntu.com/4086-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3902","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2019-188.yaml","tags":["web"]},{"url":"https://usn.ubuntu.com/4086-1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mq66-vcfc-8246","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01362,"epssPercentile":0.72329,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-3902","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3902","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-3902","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mq66-vcfc-8246","ok":true,"note":"GHSA-mq66-vcfc-8246"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-3902","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}