Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2017-9462

50
FAUCET Score

CVE-2017-9462 is a critical vulnerability affecting Mercurial versions prior to 4.1.3, specifically when using the "hg serve --stdio" command. It allows remote authenticated users to execute arbitrary code by exploiting a flaw that enables the launch of the Python debugger through a specially crafted repository name. This vulnerability carries a high CVSS score of 8.8, indicating a severe risk with low attack complexity, requiring only authenticated access to achieve full compromise of confidentiality, integrity, and availability. While not listed in CISA's KEV catalog, exploit modules are publicly available in Metasploit, and its high EPSS score suggests a significant likelihood of exploitation, despite limited community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.1.3CPE matchmatch criteria
cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*
8.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
6.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
7.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
21.51%
Probability of exploitation in next 30 days
EPSS Percentile
97.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
Metasploit: Mercurial Custom hg-ssh Wrapper Remote Code Exec · Apr 18, 2017
This CVE's current EPSS score of 0.2151 is in the 96th percentile among its peer group of 17,805 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

pippatch availablevia ghsa
Product: mercurialFixed in: 4.1.3
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: mercurial-0:1.4-5.el6_9
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: mercurial-0:2.6.2-7.el7_3
View patch

Vendor Advisories (2)

pipGHSA-ghjx-3jg5-h6r2high

Mercurial has Incorrect Permission Assignment for Critical Resource

Jul 13, 2018
redhatCVE-2017-9462Important

mercurial: Python debugger accessible to authorized users

Apr 18, 2017

References

access.redhat.com / errata/RHSA-2017:1576
Third Party Advisory
bugs.debian.org / 861243
Issue TrackingMailing ListPatchThird Party Advisory
lists.debian.org / debian-lts-announce/2018/07/msg00005.html
Mailing ListThird Party Advisory
security.gentoo.org / glsa/201709-18
Third Party Advisory
mercurial-scm.org / repo/hg/rev/77eaf9539499
Mailing ListVendor Advisory
mercurial-scm.org / wiki/WhatsNew
Release NotesVendor Advisory
debian.org / security/2017/dsa-3963
Third Party Advisory
securityfocus.com / bid/99123
Third Party AdvisoryVDB Entry