Advisory record · GHSA-mq66-vcfc-8246

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 5.1 MediumEPSS 0.014 · 72nd percentile

Published by the GitHub Advisory Database at 22 Apr 2019, 16:29 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mercurialPyPI<4.94.9
Identifiers
GHSA-mq66-vcfc-8246 · CVE-2019-3902 · PYSEC-2019-188
Weakness (CWE)
CWE-22
Published
22 Apr 2019
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Mercurial versions before 4.9 are vulnerable. A crafted repository that uses symlinks and subrepositories can defeat Mercurial's path checks and write files outside the repository, so an attacker would need to supply a repository for the user to work with. The fix is to upgrade mercurial to version 4.9 or later. The source gives few details on the exact trigger.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.1 Medium 3.0 CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CNA (redhat)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 22 Apr 2019. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.