Skip to content

CVE-2026-49856 @jshookmcp/jshook: ICMP probe and traceroute skip local-network SSRF authorization

MediumCVSS 4.3 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

@jshookmcp/jshook is an MCP server that gives AI agents tools for JavaScript analysis and security research. In version 0.3.1, he network domain has a central SSRF authorization policy that blocks private, loopback, link-local, and reserved targets unless an explicit authorization object allows private network access. The policy is enforced by raw HTTP/TCP/TLS RTT tools, but the ICMP probe and traceroute tools resolve the target and invoke the native ICMP/traceroute sink directly. An MCP client with access to an active network domain can therefore ask the jshookmcp server to probe internal addresses even when local SSRF access is disabled for the other raw network tools. This exposes an internal reachability and route mapping primitive from the server network position. Version 0.3.2 fixes the issue.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
jshookmcp @jshookmcp/jshook(npm) = 0.3.1; >= 0.3.1, < 0.3.2 0.3.2 Fixed
vmoranv jshookmcp = = 0.3.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
vmoranv jshookmcp = = 0.3.1 No fix listed
jshookmcp @jshookmcp/jshook(npm) = 0.3.1 No fix listed
jshookmcp @jshookmcp/jshook(npm) >= 0.3.1, < 0.3.2 0.3.2

References