Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in 9remote (npm)

0
High
Published: 08/06/2026 (08/06/2026, 13:15:46 UTC)
Source: GCVE Database
Product: 9remote

Description

9remote is a remote-shell tool that exposes a host to the public internet via a Cloudflare Quick Tunnel. It allows incoming WebSocket input messages to be forwarded directly into a local shell, granting full interactive shell access to anyone possessing a short-lived one-time key. This behavior is by design, not a covert channel, but it results in full-host remote code execution with the user's privileges on any host running the CLI. Multiple specific versions of 9remote (npm) are affected.

Affected software

npmghsa
9remote
Affected versions
=2.1.5=2.1.14=2.1.20=2.1.9=2.1.16=2.1.21=2.1.6=2.2.5=2.2.6=2.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 18:35:46 UTC

Technical Analysis

9remote is a CLI tool that launches an HTTP/WebSocket server and provisions a Cloudflare Quick Tunnel exposing the host to the internet at a 9remote.cc URL. Incoming WebSocket messages labeled as input are forwarded verbatim to a locally spawned pseudo-terminal (PTY) running a shell (bash/zsh on Unix, cmd.exe/powershell.exe on Windows). Access is controlled by a short-lived (~30-minute) one-time key shown as a QR code. Anyone with this key gains full interactive shell access with the user's privileges, effectively enabling full-host remote code execution. This is the intended functionality of the tool rather than a vulnerability introduced by malicious code. The affected versions explicitly listed include multiple 2.1.x and 2.2.x releases.

Potential Impact

Any user who obtains the short-lived one-time key can gain full interactive shell access on the host running 9remote, executing arbitrary commands with the privileges of the user running the CLI. This represents a full-host remote code execution capability behind a single key, which poses a significant security risk if the key is leaked or intercepted. There is no indication of covert or unauthorized malicious code; the risk stems from the tool's design and exposure model.

Mitigation Recommendations

This behavior is the intended design of 9remote and not a covert malicious backdoor. Operators should treat the one-time key as highly sensitive and ensure it is not exposed to untrusted parties. Limit usage of the CLI to trusted environments and users. Since no patch or fix is indicated, mitigation relies on operational security controls around key distribution and usage. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13406
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a74cf8dbf8831d5391ae78f

Added to database: 08/06/2026, 18:16:45 UTC

Last enriched: 08/06/2026, 18:35:46 UTC

Last updated: 08/06/2026, 18:35:46 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses