KeygraphLabs · CVE MCP

CVE-2017-9462 · mitre

CVE-2017-9462

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.

Published 2017-06-06, last changed 2026-06-17. Weakness: CWE-732.

CVSS
8.8
high, from NVD
EPSS
21.7%
percentile 97.7%, chance of exploitation in 30 days
Exploitation
Public exploit
1 public reference

Public exploits

SourceKindReference
metasploitexploit-moduleexploit/linux/ssh/mercurial_ssh_exec

How to fix

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

Timeline

2017-06-06Published
2017-06-06Package advisory PYSEC-2017-91
2018-07-13Package advisory GHSA-ghjx-3jg5-h6r2
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 21.7%

Affected packages

AdvisoryPackageFixed in
GHSA-ghjx-3jg5-h6r2mercurial (PyPI)4.1.3
PYSEC-2017-91mercurial (PyPI)4.1.3

Also known as: GHSA-ghjx-3jg5-h6r2, PYSEC-2017-91

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-9462, or call /api/v1/vulnerabilities/CVE-2017-9462. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org