Amazon Q Developer Flaw Could Let Malicious Repos Run Code via MCP Configs
A flaw in Amazon Q Developer allowed malicious repositories to run code and steal cloud credentials, a vulnerability that Amazon has now patched.
Overview
A high-severity flaw in Amazon Q Developer allowed a malicious repositoryA central storage place where a software project's source code, change history, and configuration files are kept to execute commands and steal cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage. The vulnerability, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-12957 with a CVSSThe standard rating scale used to score how severe a software security flaw is score of 8.5, existed in how the AI coding assistant handled Model Context ProtocolAn open standard for connecting AI assistants to external data sources, files, and software tools serversA computer or program on a network that stores data and responds to requests from client devices. When a developer opened a repository, the tool read a configuration fileA text file that stores settings, network addresses, and options for how a program or server runs and launched local processes that inherited the user's full environment. This process included access to AWS keysThe secret value that locks or opens a message, cloud CLIA text-based terminal interface where users type commands instead of clicking buttons in a graphical window tokensA short-lived digital pass that a server gives a logged-in user or app, and API secrets, allowing an attacker to run arbitrary code with the developer's live cloud session. The issue affected all four plugins that bundle the Language Servers for AWS runtime, including those for VS Code, JetBrains, Eclipse, and Visual Studio. The fix is available in version 1.69.0 of the Language Servers for AWS, which also resolves a second issue regarding symlink checks.
Terms in this story
- repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
- cloud credentials
- Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- CVSS
- The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
- Model Context Protocol
- An open standard for connecting AI assistants to external data sources, files, and software tools. Software teams use the Model Context Protocol so an AI coding tool or chatbot can query databases and run local commands, which makes securing those tool connections a major concern.
- Protocol
- An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- configuration file
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- CLI
- A text-based terminal interface where users type commands instead of clicking buttons in a graphical window. Software teams and administrators manage cloud servers and code repositories through a CLI because text commands are fast and easy to automate in scripts.
- tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
...a high-severity flaw in amazon q developer let a malicious repository run commands and steal a developers cloud... Found by reading the article; these words are close to its own - Security+ 2.3 Explain various types of vulnerabilities.
"Amazon Q Developer Flaw Could Let Malicious Repos Run Code via..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"A high-severity flaw in Amazon Q Developer let a..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......run commands and steal a developer's cloud credentials. The path was short: a developer..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Perform secure program testing, review, and/or assessment to identify potential flaws in codes and mitigate vulnerabilities.
"Wiz Research, which found and reported it..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role