---
title: AWS Fixes Amazon Q Flaw That Let Attackers Steal Cloud Credentials Silently
description: AWS patches a high-severity flaw in Amazon Q for VS Code, preventing credential theft from malicious repositories. Update now to protect data.
canonical_url: https://codekeeper.co/ticker/aws-patches-flaw-in-amazon-q-for-vs-code
---

# AWS Fixes Amazon Q Flaw That Let Attackers Steal Cloud Credentials Silently

AWS patches a high-severity flaw in Amazon Q for VS Code, preventing credential theft from malicious repositories. Update now to protect data.

![Content Team](https://codekeeper.co/hubfs/_sized/Codekeeper_21_beeldmerkL-800.png)

By Content Team Jun 30, 2026

Share [![Share on facebook](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Facebook.svg)](http://www.facebook.com/share.php?u=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Linkedin.svg)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20X.svg)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Mail.svg)](mailto:?subject=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Demail) ![Copy link](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Copy.svg)

ON THIS PAGE

### Want more insights like this?

Subscribe to our newsletter to get the latest software protection strategies delivered to your inbox.

By submitting your email, you consent to Codekeeper contacting you and agree to our [privacy policy](https://codekeeper.co/privacy-policy) .

AWS has patched a high-severity bug in the Amazon Q Developer extension that could let attackers steal cloud credentials just by getting a developer to open a malicious repository. Tracked as CVE-2026-12957 and discovered by Wiz Research, the flaw allowed Amazon Q to automatically load and execute MCP server configurations without user approval — silently, before any code review happened. Because spawned processes inherited the developer's full environment, attackers could grab AWS credentials, API keys, SSH secrets and other sensitive environment variables. Wiz built a working proof of concept; no widespread attacks have been reported. The fix landed in AWS Language Server version 1.65.0, which covers Amazon Q in VS Code and the other IDEs it supports. Update, then check your existing MCP configurations — patching stops new configs from auto-executing, but won't remove one a poisoned repo already dropped. Similar MCP-related vulnerabilities have also been found in Claude Code, Cursor and Windsurf. Source: [Dark Reading](https://www.darkreading.com/cloud-security/amazon-q-vs-extension-flaw-leads-cloud-credential-theft)

Share this article [![Share on facebook](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Facebook.svg)](http://www.facebook.com/share.php?u=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on linkedin](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Linkedin.svg)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on twitter](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20X.svg)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=) [![Share on email](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Mail.svg)](mailto:?subject=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Fcodekeeper.co%2Fticker%2Faws-patches-flaw-in-amazon-q-for-vs-code%3Futm_medium%3Dsocial%26utm_source%3Demail) ![Copy link](https://codekeeper.co/hubfs/Codekeeper%202025/Icons/Blog%20-%20Copy.svg)

![blog_book_a_demo_cta_3x](https://codekeeper.co/hubfs/_sized/Codekeeper%202025/blog_book_a_demo_cta_3x-768x512.webp)

Have questions about protecting your software?

Our escrow experts are standing by to help.

[Book a free demo](https://codekeeper.co/book-a-demo)

YOU MAY ALSO LIKE

[LiteLLM Supply Chain Attack Exposed 2,500+ Organizations Aug 13, 2026](https://codekeeper.co/ticker/supply-chain-attack-on-litellm-exposes-organizations)

[Data breaches Revolut Data Breach Exposed Passports to a Fake Government Email Sep 14, 2026](https://codekeeper.co/ticker/revolut-data-breach-exposes-sensitive-customer-info)

[Cyberattacks Fake Recruiters Infected 30,000 PCs in a $10.7M Crypto Theft Sep 21, 2026](https://codekeeper.co/ticker/fake-recruiter-scheme-north-korea-hackers)

[Chinese-Funded Interpol Operation Nets 5,800 Arrests and $293M Intercepted Aug 12, 2026](https://codekeeper.co/ticker/global-cybercrime-sweep-interpol-2026)
