CVE-2008-2942: PYSEC-2026-666 - Mercurial Directory traversal vulnerability

CVE-2008-2942 · Severity: info · Published 2026-07-02

Mercurial Directory traversal vulnerability

Technologies: mercurial (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2008-2942 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2008-2942 being exploited in the wild.
How severe is CVE-2008-2942?
Informational severity, published 2 July 2026.
Which products and versions are affected?
mercurial (PyPI) ECOSYSTEM:introduced=0,fixed=1.0.2.
Is there a fix for CVE-2008-2942?
Yes. mercurial (PyPI): upgrade to 1.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2008-2942?
Check whether you run mercurial (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • mercurial (PyPI): upgrade to 1.0.2 or later
    pip install "mercurial>=1.0.2"

Affected products

  • mercurial (PyPI) ECOSYSTEM:introduced=0,fixed=1.0.2

Identifiers

  • CVE-2008-2942
  • GHSA-v2gw-x5jf-pgwv
  • PYSEC-2026-666

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.