Read the docs
TI-2019-02910 Aliases CVE-2019-3902GHSA-mq66-vcfc-8246

Path traversal in mercurial

Priority LOW 29CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

EPSS 0.01362 71st percentileScored 2026-11-07
Fix Partial mercurial (The Mercurial Project): 4.9mercurial (PyPI): 4.9Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Mercurial Projectmercurialbefore 4.94.9Patch availableCNA
—mercurial (PyPI)before 4.94.9Patch availableGHSA-mq66-vcfc-8246
  • mercurial VendorThe Mercurial Project Affected before 4.9 Fixed in 4.9 Patch available CNA
  • mercurial (PyPI) Vendor— Affected before 4.9 Fixed in 4.9 Patch available GHSA-mq66-vcfc-8246

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*before 4.9VulnerableMercurial
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
  • cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* Versions before 4.9 Vulnerable ·Mercurial
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat

Remediation

  • Fix · CNA mercurial (The Mercurial Project) Fixed in 4.9
  • Fix · GHSA-mq66-vcfc-8246 mercurial (PyPI) Fixed in 4.9 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Not affected: 2 products
  • Red Hat Ansible Tower 3
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-3902
  2. 2026-10-03 Alias added: GHSA-mq66-vcfc-8246

References

Sources