By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Claude Code Flaws Allow Remote Code Execution and API Key Exfiltration
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Claude Code Flaws Allow Remote Code Execution and API Key Exfiltration
Computing

Claude Code Flaws Allow Remote Code Execution and API Key Exfiltration

News Room
Last updated: 2026/02/25 at 1:34 PM
News Room Published 25 February 2026
Share
Claude Code Flaws Allow Remote Code Execution and API Key Exfiltration
SHARE

Ravie LakshmananFeb 25, 2026Artificial Intelligence / Vulnerability

Cybersecurity researchers have disclosed multiple security vulnerabilities in Anthropic’s Claude Code, an artificial intelligence (AI)-powered coding assistant, that could result in remote code execution and theft of API credentials.

“The vulnerabilities exploit various configuration mechanisms, including Hooks, Model Context Protocol (MCP) servers, and environment variables – executing arbitrary shell commands and exfiltrating Anthropic API keys when users clone and open untrusted repositories,” Check Point Research said in a report shared with The Hacker News.

The identified shortcomings fall under three broad categories –

  • No CVE (CVSS score: 8.7) – A code injection vulnerability stemming from a user consent bypass when starting Claude Code in a new directory that could result in arbitrary code execution without additional confirmation via untrusted project hooks defined in .claude/settings.json. (Fixed in version 1.0.87 in September 2025)
  • CVE-2025-59536 (CVSS score: 8.7) – A code injection vulnerability that allows execution of arbitrary shell commands automatically upon tool initialization when a user starts Claude Code in an untrusted directory. (Fixed in version 1.0.111 in October 2025)
  • CVE-2026-21852 (CVSS score: 5.3) – An information disclosure vulnerability in Claude Code’s project-load flow that allows a malicious repository to exfiltrate data, including Anthropic API keys. (Fixed in version 2.0.65 in January 2026)

“If a user started Claude Code in an attacker-controller repository, and the repository included a settings file that set ANTHROPIC_BASE_URL to an attacker-controlled endpoint, Claude Code would issue API requests before showing the trust prompt, including potentially leaking the user’s API keys,” Anthropic said in an advisory for CVE-2026-21852.

In other words, simply opening a crafted repository is enough to exfiltrate a developer’s active API key, redirect authenticated API traffic to external infrastructure, and capture credentials. This, in turn, can permit the attacker to burrow deeper into the victim’s AI infrastructure.

This could potentially involve accessing shared project files, modifying/deleting cloud-stored data, uploading malicious content, and even generating unexpected API costs.

Successful exploitation of the first vulnerability could trigger stealthy execution on a developer’s machine without any additional interaction beyond launching the project.

CVE-2025-59536 also achieves a similar goal, the main difference being that repository-defined configurations defined through .mcp.json and claude/settings.json file could be exploited by an attacker to override explicit user approval prior to interacting with external tools and services through the Model Context Protocol (MCP). This is achieved by setting the “enableAllProjectMcpServers” option to true.

“As AI-powered tools gain the ability to execute commands, initialize external integrations, and initiate network communication autonomously, configuration files effectively become part of the execution layer,” Check Point said. “What was once considered operational context now directly influences system behavior.”

“This fundamentally alters the threat model. The risk is no longer limited to running untrusted code – it now extends to opening untrusted projects. In AI-driven development environments, the supply chain begins not only with source code, but with the automation layers surrounding it.”

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Red Hat AI Factory with NVIDIA, a platform ready for AI deployment at scale Red Hat AI Factory with NVIDIA, a platform ready for AI deployment at scale
Next Article I Got to Try Samsung’s Galaxy S26 Phones: I’m Seriously Impressed With This New Feature I Got to Try Samsung’s Galaxy S26 Phones: I’m Seriously Impressed With This New Feature
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Scientists create robot that turns humans into bionic centaurs
Scientists create robot that turns humans into bionic centaurs
News
Exclusive: The SEC drops its four-year-old investigation into EV startup Faraday Future
Exclusive: The SEC drops its four-year-old investigation into EV startup Faraday Future
News
'Marshals' Release Schedule: When Episode 4 Hits Paramount Plus
'Marshals' Release Schedule: When Episode 4 Hits Paramount Plus
News
Nuclear waste is a problem, so Germany is looking for the solution in a Jurassic rock in Switzerland
Nuclear waste is a problem, so Germany is looking for the solution in a Jurassic rock in Switzerland
Mobile

You Might also Like

AWS at 20*: Inside the rise of Amazon’s cloud empire, and what’s at stake in the AI era
Computing

AWS at 20*: Inside the rise of Amazon’s cloud empire, and what’s at stake in the AI era

48 Min Read
Overview of Artificial Intelligence in 2026 – Chat GPT AI Hub
Computing

Overview of Artificial Intelligence in 2026 – Chat GPT AI Hub

13 Min Read
Overview of Artificial Intelligence in 2026 – Chat GPT AI Hub
Computing

Advancements in Neural Network Architectures – Chat GPT AI Hub

15 Min Read
The Impact of GPT-5.2 and Sora on AI in 2026: What You Need to Know – Chat GPT AI Hub
Computing

The Impact of GPT-5.2 and Sora on AI in 2026: What You Need to Know – Chat GPT AI Hub

18 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?