{"cve":"CVE-2019-3902","nvd":{"published":"2019-04-22T16:29:01.913","modified":"2026-06-17T02:35:50.260","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9},"cwes":["CWE-59","CWE-22"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html","https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","https://usn.ubuntu.com/4086-1/","https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29"],"products":["debian:debian_linux","mercurial:mercurial","redhat:enterprise_linux"],"source":"nvd","synced_at":"2026-10-19T20:56:19.218283075+00:00"},"epss":{"cve":"CVE-2019-3902","score":0.01367,"percentile":0.71866,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mq66-vcfc-8246","url":"https://osv.dev/vulnerability/GHSA-mq66-vcfc-8246","summary":"Mercurial Path Traversal/Link Following vulnerability","modified":"2024-09-25T19:48:14.490371Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<4.9"],"fixed":["4.9"]}]},{"id":"PYSEC-2019-188","url":"https://osv.dev/vulnerability/PYSEC-2019-188","summary":"","modified":"2026-06-10T17:01:23.982379761Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<4.9"],"fixed":["4.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}