Claude Code Vulnerabilities Enable RCE and API Key Theft

IT Consultancy

IT Consultancy Get expert guidance to leverage technology for your business growth. We help you identify the right IT solutions, optimize infrastructure, and ensure your digital environment is secure,…

Digital Marketing

Digital Marketing Grow your brand and reach the right audience with data-driven marketing strategies. We help you create campaigns that convert, manage social channels effectively, and optimize your d…

Privacy Policy

Privacy Policy At CometSoul, accessible from https://cometsoul.com, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collec…

Terms and Conditions

Welcome to CometSoul! These terms and conditions outline the rules and regulations for the use of CometSoul’s Website, located at https://cometsoul.com. By accessing this website we assume you a…

Disclaimer

If you require any more information or have any questions about our site’s disclaimer, please feel free to contact us. Disclaimers for CometSoul All the information on this website – https…

Tutorial

Wifi Managed Service

Managed Wi-Fi Service

Managed Wi-Fi Service Build a fast, stable, and secure Wi-Fi for your business at Zero depreciation cost. Enterprise-Grade Guest Wi-Fi With $0 Upfront Hardware Costs. We provide, install, and support …

System Integrator

Smart Business System Integrator

Smart Business System Integrator Simplify your daily operations with smart systems that automate bookings, schedules, and routine tasks so you can focus on growing your business. We set up and integra…

Computer Managed Service

IT Procurement & Hardware Managed Service

IT Procurement & Hardware Managed Service Keep your technology running smoothly from the hardware you use every day to the systems that power your business. We provide end-to-end IT management so …

Security researchers have uncovered multiple high-risk vulnerabilities in Claude Code, the AI-powered coding assistant from Anthropic. The flaws could allow attackers to achieve remote code execution (RCE) and steal API credentials when developers open untrusted repositories.

According to Check Point, the issues exploit configuration mechanisms such as Hooks, Model Context Protocol (MCP) servers, and environment variables. In a typical attack scenario, threat actors plant malicious configuration files inside a repository. When a victim clones and opens the project, Claude Code may automatically execute shell commands and exfiltrate the user’s Anthropic API key.

Researchers categorized the findings into three main vulnerabilities. The first issue (no CVE, CVSS 8.7) involved a user consent bypass via .claude/settings.json, enabling arbitrary code execution; it was fixed in version 1.0.87. The second flaw, CVE-2025-59536 (CVSS 8.7), allowed automatic shell command execution during tool initialization from an untrusted directory; it was patched in version 1.0.111. The third bug, CVE-2026-21852 (CVSS 5.3), enabled malicious repositories to exfiltrate sensitive data, including API keys; it was fixed in version 2.0.65.

In some scenarios, simply opening a crafted repository could cause Claude Code to send authenticated API requests to attacker-controlled infrastructure before the trust prompt appears. The impact is significant: attackers could access project files, manipulate cloud data, inject malicious content, or even generate unexpected API charges.

This research highlights a major shift in the AI threat model. The risk is no longer limited to running untrusted code—opening an untrusted project can now be enough to trigger compromise, as configuration files increasingly act as part of the execution layer.

Mitigation tips: keep Claude Code fully updated, avoid opening untrusted repositories, and carefully review MCP and hook configurations before launching projects.

Source: https://thehackernews.com/2026/02/claude-code-flaws-allow-remote-code.html