Skip to content
  • Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form
Critical Flaw in OpenCode Allows Remote Code Execution

Critical Flaw in OpenCode Allows Remote Code Execution

Posted on October 22, 2026 By CWS

A security vulnerability in the OpenCode AI coding agent has been discovered, which allows unauthorized code execution on Windows and WSL systems. This flaw occurs when a developer logs into a malicious or compromised MCP server, potentially granting server control to execute code under the developer’s own privileges.

Patch Released by Anomaly

Anomaly, the company behind OpenCode, addressed the issue in version 1.18.33, released on September 28. However, the company did not request a CVE or publicly announce a security advisory, meaning that vulnerability scanners might not detect the issue in older versions, specifically from 1.0.137 to 1.18.32.

The vulnerability arises during the sign-in process, where the MCP server provides an OAuth “authorization endpoint” web address. OpenCode passes this address to a helper that opens it in a browser. Due to inadequate input escaping, malicious addresses containing PowerShell commands could execute these commands.

Steps to Mitigate the Issue

The vulnerability affects only Windows and WSL platforms, as OpenCode’s method of launching browsers on macOS and Linux does not involve shell processing. Pillar Security, which discovered the flaw, rated it as critical with a proposed severity score of 9.8 out of 10. The flaw was disclosed publicly on October 19.

To mitigate the risks, users should upgrade to OpenCode version 1.18.33 or later. If upgrading is not feasible, users should remove any unverified remote MCP servers from their configuration. Running the command opencode mcp list will reveal which servers are configured.

Historical Context and Future Implications

This is not the first instance of such a vulnerability in OpenCode. In July 2025, a similar issue was identified in the mcp-remote proxy, which was then assigned CVE-2025-6514. The browser helper package, “open,” used by OpenCode, was previously reported as a command-injection risk in 2023, prompting a fix in its version 11. However, OpenCode continued using an older version until recently.

Despite no evidence of active exploitation, the potential for abuse exists, highlighting the importance of maintaining updated software. This vulnerability is distinct from a separate breach involving OpenCode’s hosted Console, which may have exposed API keys for services like OpenAI, Anthropic, and Google.

In conclusion, developers using OpenCode are strongly advised to update their software and regularly verify their server configurations to safeguard against similar vulnerabilities in the future.

The Hacker News Tags:Anomaly, MCP server, OpenCode, Pillar Security, remote code execution, Security, software flaw, Vulnerability, Windows, WSL

Post navigation

Previous Post: New Android Malware Hijacks Banking Apps with Malicious Copies
Next Post: Signal Fixes Critical Bug Preventing Call Hang-Ups

Related Posts

Manic Malware Targets Android Devices with Innovative Techniques Manic Malware Targets Android Devices with Innovative Techniques The Hacker News
Gitea Vulnerability Exploited in Cryptojacking Attack Gitea Vulnerability Exploited in Cryptojacking Attack The Hacker News
New DDRop Attack Targets Intel and AMD Confidential Computing New DDRop Attack Targets Intel and AMD Confidential Computing The Hacker News
Cyber Attacks Leverage Fake Software Updates for Remote Access Cyber Attacks Leverage Fake Software Updates for Remote Access The Hacker News
Russian Intelligence Phishing Campaign Targets Messaging Apps Russian Intelligence Phishing Campaign Targets Messaging Apps The Hacker News
Learn How Leading Security Teams Blend AI + Human Workflows (Free Webinar) Learn How Leading Security Teams Blend AI + Human Workflows (Free Webinar) The Hacker News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • Critical Docker Flaw Could Expose API Keys to AI Agents
  • Microsoft Enhances MFA Security with New CAPTCHA Step
  • Researchers Exploit ARTEX AI to Gain Container Access
  • WhatsApp Urges iOS Updates Amidst Malware Threats
  • AI-Driven Cyber Threats Risking Global Payment Systems

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • December 2026
  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • Critical Docker Flaw Could Expose API Keys to AI Agents
  • Microsoft Enhances MFA Security with New CAPTCHA Step
  • Researchers Exploit ARTEX AI to Gain Container Access
  • WhatsApp Urges iOS Updates Amidst Malware Threats
  • AI-Driven Cyber Threats Risking Global Payment Systems

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Copyright © 2026 Cyber Web Spider Blog – News.

Powered by PressBook Masonry Dark