HIGH
CVE-2017-9462
CWE-732Published: June 6, 2017· Updated: Jun 17, 2026
8.8
CVSS v3.1
Official Description
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.
Technical Analysis
CVE-2017-9462 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 8.8.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (16)
→
http://www.debian.org/security/2017/dsa-3963Third Party Advisory
→
http://www.securityfocus.com/bid/99123Third Party Advisory · VDB Entry
→
https://access.redhat.com/errata/RHSA-2017:1576Third Party Advisory
→
https://bugs.debian.org/861243Issue Tracking · Mailing List · Patch · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing List · Third Party Advisory
→
https://security.gentoo.org/glsa/201709-18Third Party Advisory
→
https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499Mailing List · Vendor Advisory
→
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29Release Notes · Vendor Advisory
→
http://www.debian.org/security/2017/dsa-3963Third Party Advisory
→
http://www.securityfocus.com/bid/99123Third Party Advisory · VDB Entry
→
https://access.redhat.com/errata/RHSA-2017:1576Third Party Advisory
→
https://bugs.debian.org/861243Issue Tracking · Mailing List · Patch · Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2018/07/msg00005.htmlMailing List · Third Party Advisory
→
https://security.gentoo.org/glsa/201709-18Third Party Advisory
→
https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499Mailing List · Vendor Advisory
Quick Facts
CVE IDCVE-2017-9462
CVSS Score8.8 / 10
SeverityHIGH
WeaknessCWE-732
CISA KEVNo
Affected3 vendor(s)
PublishedJun 6, 2017
Related CVEs (CWE-732)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2017-9462 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.