Amazon Q Developer Flaw Could Let Malicious Repos Run Code via MCP Configs
- Published
- Record updated
Summary
A high-severity flaw in Amazon Q Developer, tracked as CVE-2026-12957 (CVSS 8.5), let a malicious repository run commands and steal a developer's cloud credentials. Amazon Q read the MCP configuration file .amazonq/mcp.json from the open workspace and launched the servers it defined, and those processes inherited the developer's full environment, including AWS keys and cloud CLI tokens. Wiz Research found and reported the flaw, and Amazon has patched it.
Mitigation
Update. CVE-2026-12957 is fixed in Language Servers for AWS 1.65.0, but AWS's bulletin tells customers to move to 1.69.0, which also closes CVE-2026-12958. Patched plugin minimums: VS Code 2.20 or later, JetBrains 4.3 or later, Eclipse 2.7.4 or later, Visual Studio toolkit 1.94.0.0 or later.
Topics
Related items
- HighCVE-2026-136267 - Improper neutralization of special elements used in an OS command in Kiro WebSame vendor · AWS Security Bulletins
- InfoAmazon is reportedly in talks to end Muse AI shopping blockSame vendor · The Verge (AI)
- InfoDelegate user access to AI agents with Amazon Cognito token exchangeSame vendor · AWS Security Blog
- HighCVE-2026-135614 - Sensitive data redaction bypass in the troubleshooting tool in Amazon ECS MCP ServerSame vendor · AWS Security Bulletins
- InfoAWS completed its second ISO/IEC 42001:2023 surveillance auditSame vendor · AWS Security Blog