CVE-2008-4297

CVE-2008-4297 is a medium-severity vulnerability in Mercurial with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.

Key facts

Description

Mercurial before 1.0.2 does not enforce the allowpull permission setting for a pull operation from hgweb, which allows remote attackers to read arbitrary files from a repository via an "hg pull" request.

Frequently asked questions

What is CVE-2008-4297?
Mercurial before 1.0.2 does not enforce the allowpull permission setting for a pull operation from hgweb, which allows remote attackers to read arbitrary files from a repository via an "hg pull" request.
How severe is CVE-2008-4297?
CVE-2008-4297 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2008-4297 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2008-4297?
CVE-2008-4297 affects Mercurial. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2008-4297?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2008-4297 published?
CVE-2008-4297 was published on 2008-09-27 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Mercurial

All CVEs affecting Mercurial →

Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities

Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →