Amazon Q Developer runtime fixes five AI-agent flaws, two in MCP approvals — update to 1.81.0
AWS fixed five flaws in Language Servers for AWS, the engine behind Amazon Q Developer's IDE plugins. A booby-trapped project could run code. Restart your IDE and confirm 1.81.0.
On December 1, 2026, AWS published fixes for five vulnerabilities in Language Servers for AWS, the engine that runs Amazon Q Developer's AI agent inside VS Code, JetBrains, Eclipse and Visual Studio. In the worst cases, opening a booby-trapped project could let attackers run commands on a developer's machine without the usual approval prompt. AWS has not reported any attacks using the flaws. Restart your IDE so the plugin can download the latest engine, then check that you are on version 1.81.0 or later.
What happened, in plain English
Amazon Q Developer is AWS's AI coding assistant. When you install it in your code editor (IDE, integrated development environment), the plugin downloads a separate engine called Language Servers for AWS. That engine does the real work: it reads your files, runs shell commands for the AI agent, and starts MCP servers. MCP (Model Context Protocol) is a standard way to plug extra tools into an AI assistant. Each MCP server is a small program on your machine, and the agent can call it.
To keep this safe, the engine asks you before doing risky things: "Do you want to allow this MCP server?" or "Run this command?" It also tries to keep the agent inside your project folder (the workspace).
AWS found that some of those safeguards had gaps:
- Approvals that could be reused. Once you approved an MCP server, the engine did not always notice when its settings changed later, or when an approved setup was copied into another project. The changed program could start without asking you again.
- A command-injection bug. The agent's code review tool put file names straight into a shell command. A crafted file name in a project could make it run extra commands. You did not need to ask for a review.
- Shortcuts out of the project folder. The engine did not follow symbolic links (shortcuts that point to another place on disk). An agent could read a file outside your project without asking, or write a new file outside it.
Think of a house-sitter with a list of rooms they may enter. The list said "the guest room", but nobody checked whether the guest-room door secretly opened into the office.
Are you affected? What to do now
Who is affected: anyone using an Amazon Q Developer plugin in VS Code, JetBrains IDEs, Eclipse or Visual Studio, whose engine (Language Servers for AWS) is older than 1.81.0. The npm package, also used by tools built on the same code, is @aws/lsp-codewhisperer. Version 0.0.130 matches 1.81.0. AWS says the code review bug (CVE-2026-137933) affects only VS Code and JetBrains. Eclipse and Visual Studio do not use that tool.
The plugin's own version number does not tell you the engine version, AWS warns. Normally the plugin downloads the latest compatible engine each time the IDE starts.
Checklist:
- Update the Amazon Q plugin and restart the IDE. This is the fix AWS recommends. AWS says no workarounds are available.
- Watch for setups that may not update on their own. AWS says the engine may not update on machines with no network access, with a pinned version, or running on a fallback engine. Check build images, locked-down developer laptops and air-gapped environments in particular.
- Using the npm package directly or a fork? Upgrade
@aws/lsp-codewhispererto 0.0.130 or later. Runningnpm ls @aws/lsp-codewhispererin your project shows which version is installed. If you maintain derived code, apply the same fixes. - Be careful with projects you don't trust, especially ones that include MCP settings, until you have confirmed you are updated. All five issues depend on content in a project the developer opened.
- Review approved MCP servers. If you use MCP servers in project folders, look over the ones you approved and remove any you no longer need.
AWS has not published indicators of compromise, and it does not say that any of the flaws has been exploited. None of the five is in the US CISA (Cybersecurity and Infrastructure Security Agency) Known Exploited Vulnerabilities catalog. If your team already keeps the plugin current and restarts IDEs regularly, you are probably already fixed. Confirm the engine version and move on.
The expert view
Root cause. These are mostly fixes to earlier fixes. AWS's bulletin says it found the five issues after its earlier Bulletin 2026-047-AWS. That bulletin covered CVE-2026-12957, where Wiz showed that a repository's bundled MCP settings could start without consent, and CVE-2026-12958. AWS describes CVE-2026-137931 and CVE-2026-137935 as remaining issues in those earlier fixes. The pattern is familiar: a consent system bolted onto a tool that runs code. It is only as good as its definition of "the same thing the user approved".
The five issues:
- CVE-2026-137931 (MCP consent fingerprint omission). In registry mode, the fingerprint (a summary of the configuration) taken for an approved workspace MCP server did not include every environment variable and header that was later merged into the launch configuration. Someone who could change those values could run code without a new prompt. Affected: 1.65.0 to before 1.78.0.
- CVE-2026-137932 (consent match logic). For a given server name, the check accepted a matching configuration fingerprint or a matching workspace, when it should have required both. That made approvals reusable after a configuration change, or portable to another workspace when the command was a relative path. Affected: 1.65.0 to before 1.71.0.
- CVE-2026-137933 (OS command injection, CWE-78). File paths supplied by the agent reached a shell without neutralizing special characters. Because the agent itself chooses which files to review, crafted workspace content was enough. The user did not need to start a review. This is the clearest prompt-injection-to-execution path in the set. Affected: everything before 1.81.0, VS Code and JetBrains only.
- CVE-2026-137934 (symlink bypass in the shell tool). The workspace boundary check did not resolve symlinks, so commands classified as read-only could read files outside the workspace without approval. AWS notes that the result goes into the chat and "does not by itself deliver" it to the attacker. Commands that change files, destroy data or use the network still prompted. Affected: everything before 1.81.0.
- CVE-2026-137935 (dangling symlink write). The file tools treated an in-workspace symlink as inside the workspace even when it pointed to a file outside that did not exist yet. That allowed new files to be created outside the project without a prompt, as long as the parent folder existed and was writable. Affected: 1.69.0 to before 1.74.0.
Why the defenses failed. Each issue is a time-of-approval versus time-of-use or path-versus-real-location mismatch. The user approved one thing, and the engine later accepted something different. The general lesson for agent builders: consent should cover every input that changes what will run, match on all identity factors together, and check real paths after following symlinks. Agent-chosen arguments should never reach a shell as a string.
Severity in context. AWS labels the bulletin "Important" and publishes no CVSS scores in it. CVE aggregators show different numbers: ZeroHour lists CVSS 4.0 scores of 7.3 for CVE-2026-137931 and -137932, and Strix lists CVSS 3.1 5.5 / CVSS 4.0 6.7 for CVE-2026-137934. All attacks are local and need a developer to open attacker-controlled content, so there is no path straight from the internet. But developer machines usually hold cloud credentials, SSH keys and access tokens, and poisoned repositories are a proven way in. We would treat CVE-2026-137933 as the priority. It needs the least user action and leads directly to command execution.
Still unknown. AWS does not say whether any of these was used in real attacks, and it publishes no indicators. The bulletin lists five GitHub advisories but does not say which goes with which CVE. Plugin version numbers that guarantee engine 1.81.0 are not given. The issues were reported through coordinated disclosure by Kingsley Olukanni and zx (Jace).
Official sources
- AWS Security Bulletin 2026-206-AWS — Language Servers for AWS: MCP consent, command execution and workspace boundary issues (December 1, 2026)
- AWS Security Bulletin 2026-047-AWS — CVE-2026-12957 and CVE-2026-12958 (earlier issues)
- CVE records: CVE-2026-137931, CVE-2026-137932, CVE-2026-137933, CVE-2026-137934, CVE-2026-137935
- Wiz — MCP auto-execution in the Amazon Q VS Code extension (research behind CVE-2026-12957)
- Coverage: HOL — AWS Language Servers MCP consent cluster
- Coverage: ZeroHour — CVE-2026-137931
- Coverage: Strix — CVE-2026-137934