Wednesday, November 11, 2026

Weaponized CVE-2026-39987 Pushes Blockchain Backdoor Through Hugging Face

Attackers are rapidly exploiting CVE-2026-39987 in the marimo Python notebook platform to deploy a new NKAbuse backdoor variant hosted on Hugging Face Spaces, turning AI/ML developer environments into high‑value infection points.

The campaign combines pre-auth RCE, credential theft, lateral movement to PostgreSQL and Redis, and a blockchain-based C2 channel that is difficult to monitor or block.

CVE-2026-39987 is a critical pre-authorization remote code execution flaw in Marimo that allows an unauthenticated attacker to run arbitrary commands on exposed instances.

The underlying advisory (GHSA-2679-6mx9-h9xc) was published on GitHub on April 8, 2026, and exploitation began in less than 10 hours, underscoring how little buffer defenders have once technical details are public.

The most sophisticated operator (159.100.6.251, Germany) conducted 195 events over 3+ hours.

Reverse shell and lateral movement (Source : Sysdig).
Reverse shell and lateral movement (Source : Sysdig).

Between April 11 and 14, Sysdig’s Threat Research Team (TRT) observed hundreds of exploit events from more than ten distinct IPs, ranging from simple one‑shot RCE checks to multi‑hour interactive sessions.

During these sessions, adversaries focused on harvesting environment variables, opening reverse shells, and pivoting into backend services reachable from marimo containers.

Post-exploitation and lateral movement

Once code execution was established, multiple operators systematically dumped secrets using environment-variable scraping commands to capture cloud keys, database URLs, and API tokens.

In one sequence, an attacker exhausted a wide set of reverse shell techniques across different ports and protocols, then fell back to using a leaked DATABASE_URL to log into a PostgreSQL instance and enumerate schemas, tables, and configuration.

Another actor pivoted into a Redis deployment using credentials recovered from marimo’s .env file, then looped through all 16 logical databases to list and read application keys, including admin sessions and task metadata.

Elsewhere, a different operator relied on DNS-based callbacks to confirm code execution using external DNS logging infrastructure, a common way to validate RCE when outbound TCP traffic is filtered but DNS remains open.

The most notable activity came from an attacker who used the marimo exploit to run a curl bash command pointing to a Hugging Face Space named vsccode-modetx, a deliberate typosquat of “VS Code.” 

The Space hosts a shell script (install-linux.sh) that installs a Go-based ELF binary named kagent, mimicking a legitimate Kubernetes AI agent tool and blending naturally into developer environments.

The dropper script implements cross‑platform installation for Linux and macOS, kills existing kagent instances, and sets up persistence via systemd user services, crontab entries, or macOS LaunchAgents while silently logging to a hidden directory.

The kagent payload binary (Source : Sysdig).
The kagent payload binary (Source : Sysdig).

The payload itself is a UPX‑packed, statically linked Go binary whose strings and behavior match NKAbuse, a multi‑platform malware family that abuses the NKN blockchain protocol for resilient, anonymous C2 communications.

Why this campaign matters

Earlier NKAbuse activity primarily targeted Linux systems via long‑patched vulnerabilities like CVE‑2017‑5638, whereas this wave chains a fresh pre-auth RCE in marimo with a Hugging Face‑hosted payload tailored for AI/ML developer workstations.

Developer notebook environments are attractive because they typically hold cloud credentials, SSH keys, and direct access to internal data pipelines, so a persistent backdoor here can open the door to broader cloud-native compromise.

Hosting the implant on hf.space allows attackers to ride on the clean reputation of a widely trusted AI platform, a pattern already seen in Android RAT campaigns that leveraged Hugging Face repositories for staging.

The speed of exploitation, focus on AI/ML tooling, and reliance on reputable platforms for distribution show how quickly threat actors are adapting to modern developer and data science workflows.

Defenders should immediately identify and patch all marimo instances vulnerable to CVE-2026-39987, prioritizing any exposed to the internet or reachable from untrusted networks.

Environments that cannot be upgraded promptly should restrict access with strong authentication, network segmentation, and, where possible, web application firewall rules to block known exploit patterns.

Security teams should hunt for signs of compromise, including suspicious curl bash executions referencing vsccode-modetx, presence of ~/.kagent directories, unusual systemd user services, and outbound NKN-related traffic from developer workstations. 

More broadly, organizations need stronger controls around AI/ML infrastructure and should not treat domains like Hugging Face, GitHub, or PyPI as inherently safe, instead applying content inspection and allow‑listing to downloads that originate from these platforms.

Indicators of Compromise

IndicatorTypeContext
https://vsccode-modetx.hf.space/Payload hostHuggingFace Space (typosquats “VS Code”)
https://vsccode-modetx.hf.space/install-linux.shDropper URLShell script with 3-method download fallback
https://vsccode-modetx.hf.space/kagentBinary URLUPX-packed NKAbuse variant
bskke4.dnslog.cnDNS oracleOOB RCE confirmation (used by 203.10.98.186)

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Criminal IP Launches New TI Feed App on Splunkbase for Automated Threat Detection

Torrance, USA, November 11th, 2026, CyberNewswire Criminal IP, the AI-powered...

BluePhishing Attack Abuses Microsoft Entra OAuth Consent to Create Hidden AI Agent Identities

"BluePhishing," a technique that extends OAuth consent phishing to...

Windows Active Directory RCE and DoS Vulnerabilities Put Windows Systems at Risk

Microsoft disclosed two Windows Active Directory vulnerabilities on November...

Researchers Uncover 45 AI Hacking Frameworks, With Hundreds of Attack Consoles Exposed on the Internet

Researchers have mapped about 45 open-source frameworks that wire...

Ivanti Patches Critical SQL Injection Flaw Allowing Remote Code Execution Without Login

Ivanti has released November 2026 security updates for Endpoint...

Related Articles

Recent News