EIP-2026-114672

PRE-CVE

Mercurial - Custom hg-ssh Wrapper Remote Code Exec (Metasploit)

Title source: legacy
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for EIP-2026-114672. PoCs published by Metasploit.

AI-analyzed exploit summary This Metasploit module exploits a vulnerability in Mercurial's custom hg-ssh wrapper by triggering a Python debugger session, allowing arbitrary Python code execution. It leverages SSH authentication and sends a crafted command to execute the payload.

Description

Mercurial - Custom hg-ssh Wrapper Remote Code Exec (Metasploit)

Exploits (1)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotepython
https://www.exploit-db.com/exploits/41942

This Metasploit module exploits a vulnerability in Mercurial's custom hg-ssh wrapper by triggering a Python debugger session, allowing arbitrary Python code execution. It leverages SSH authentication and sends a crafted command to execute the payload.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mercurial (versions with vulnerable hg-ssh wrapper)
Auth required
Prerequisites: SSH access with valid credentials · Private key for authentication · Vulnerable Mercurial hg-ssh wrapper implementation
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Details

Status pre_cve
Tracked Since Feb 18, 2026