KeygraphLabs · CVE MCP

CVE-2017-17458 · mitre

CVE-2017-17458

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.

Published 2017-12-07, last changed 2026-06-17. Weakness: CWE-78.

CVSS
9.8
critical, from NVD
EPSS
6.39%
percentile 93.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: mercurial 4.4.1 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-12-07Published
2017-12-07Package advisory PYSEC-2017-90
2022-05-13Package advisory GHSA-6v56-cpg6-3rpx
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 6.39%

Affected packages

AdvisoryPackageFixed in
GHSA-6v56-cpg6-3rpxmercurial (PyPI)4.4.1
PYSEC-2017-90mercurial (PyPI)4.4.1

Also known as: GHSA-6v56-cpg6-3rpx, PYSEC-2017-90

Related

CVEPublishedCVSSSummary
CVE-2014-93902020-02-129.8same package: mercurial (PyPI)
CVE-2010-42372019-10-295.9same package: mercurial (PyPI)
CVE-2019-39022019-04-225.9same package: mercurial (PyPI)
CVE-2018-179832018-10-049.1same package: mercurial (PyPI)
CVE-2018-133482018-07-067.5same package: mercurial (PyPI)
CVE-2018-133472018-07-069.8same package: mercurial (PyPI)
CVE-2018-133462018-07-067.5same package: mercurial (PyPI)
CVE-2018-10001322018-03-149.1same package: mercurial (PyPI)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-17458, or call /api/v1/vulnerabilities/CVE-2017-17458. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org