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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Mercurial Project | mercurial | before 4.9 | 4.9 | Patch available | CNA |
| — | mercurial (PyPI) | before 4.9 | 4.9 | Patch available | GHSA-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
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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
Not affected: 2 products
- Red Hat Ansible Tower 3
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2019-3902
- 2026-10-03 Alias added: GHSA-mq66-vcfc-8246
References
Advisory 5
Sources
- CVE-2019-3902 · CVE Program
- CVE-2019-3902 · NVD
- FIRST EPSS
- GHSA-mq66-vcfc-8246 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-3902 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences