Categories: Cyber Security News

Critical “Cline” AI Agent Vulnerability Enables RCE Attacks

A critical security flaw has been identified in the Cline Kanban server that allows threat actors to exfiltrate workspace data and execute arbitrary code silently and remotely.

Security researcher TheRealSpencer recently published details of this cross-origin WebSocket hijacking vulnerability affecting the widely adopted open-source AI coding assistant.

The vulnerability is tracked as CVE-2026-44211 and carries a near-maximum severity score of 9.7.

Researchers at Oasis Security noted that the issue stems from missing origin validation on the local server exposed by the package.

Developers using the affected software are at high risk simply by visiting a malicious webpage. At the same time, the server runs in the background.

Cline AI Agent Vulnerability

The core issue resides in the kanban npm package used by the Cline command-line interface.

When launched, the application starts a local WebSocket server on port 3484 without implementing authentication or checking the origin header of incoming requests.

This architectural oversight means that any external website a developer visits can establish a connection to the local server without any user intervention.

Security analysts observed that web browsers do not restrict cross-origin WebSocket connections to localhost, allowing malicious JavaScript to interact freely with the exposed endpoints.

Once connected to the runtime stream, attackers can instantly leak sensitive information, including filesystem paths, git branch details, task titles, and live AI agent chat messages.

Beyond information disclosure, the vulnerability allows remote attackers to seize control of running AI agent terminals.

By connecting to the terminal input-output WebSocket, threat actors can inject arbitrary prompts directly into the agent’s active workspace.

The system processes these injected commands just like native user input, turning basic text injection into full remote code execution when followed by a carriage return.

Security experts have demonstrated that this can be used to execute malicious shell commands on the victim’s operating system without any direct user interaction.

Additionally, the control server endpoint can be manipulated to terminate active sessions, creating a denial-of-service condition.

The exploit is effective across any platform where Node.js and Cline are deployed, including macOS, Linux, and Windows environments.

There are currently no patched versions available for this critical vulnerability, leaving developers exposed when using older versions of the Cline CLI.

Mitigation requires significant structural changes to the application’s local web server implementation.

Following the publication by TheRealSpencer on GitHub, security professionals advised developers to validate origin headers to prevent unauthorized WebSocket upgrades.

Furthermore, generating and requiring a randomized session token at server startup would effectively block external origins from guessing the necessary connection parameters.

Until official patches are released, developers should exercise extreme caution when navigating the internet while running the Cline Kanban application.

Follow us on Google NewsLinkedIn, and X to Get More Instant Updates.

The post Critical “Cline” AI Agent Vulnerability Enables RCE Attacks appeared first on Cyber Security News.

rssfeeds-admin

Recent Posts

Former Tekken Lead Katsuhiro Harada Sets Up Own Company, VS Studio

Former Tekken director, Katsuhiro Harada, has established his own game development company, VS Studio. Drawing…

40 minutes ago

Attend an Exclusive London Screening of Prime Video’s Spider-Noir with IGN

Forget the hero you know – this is your chance to step into the shadows…

41 minutes ago

As GTA 6 Trailer 3 Hype Intensifies, Rockstar Tweets About Red Dead Online — And The Internet’s Reaction is Exactly as You’d Expect

Fans who expect Rockstar to drop Grand Theft Auto 6 Trailer 3 today have reacted…

41 minutes ago

GTA VI: The Billion-Dollar Behemoth That Could Crash the Industry

They’re calling it the biggest entertainment launch of all time – a record GTA VI…

41 minutes ago

Security and AI news from the week beginning 4 May 2026

There has been a lot of talk about the AI bubble. Much of that has…

54 minutes ago

Red Hat and Panasonic Connect Redefine Secure Ruggedised Computing

Red Hat and Panasonic Connect are to collaborate on redefining the capabilities of ruggedised edge…

55 minutes ago

This website uses cookies.