News Analysis 9 min read

Amazon Q Fixes Five IDE Trust Boundary Flaws

AWS fixed five Amazon Q language-server flaws across MCP consent, commands and file boundaries. Restart IDEs, verify runtime 1.81.0 and review trust.

By Protocol Report Editorial | Updated December 2, 2026
Five amber developer-tool risk paths enter a neutral AI coding workstation boundary while a cyan recovery path updates the runtime, restarts the IDE, verifies the boundary, inventories dependencies and confirms the deployed artifact
Short Version

AWS disclosed five flaws in Language Servers for AWS, the runtime behind Amazon Q Developer's IDE assistance. Two could reuse an earlier MCP server approval after material configuration or workspace changes, one could turn an agent-supplied file path into a shell command, and two could cross the workspace file boundary through symbolic links. The prerequisites differ, but the serious paths can reach code execution with the developer's operating-system privileges.

The complete current floor is Language Servers for AWS 1.81.0, published on npm as @aws/lsp-codewhisperer 0.0.130. Amazon Q plugins normally download a compatible runtime when the IDE starts, yet an updated plugin version does not prove that an offline, pinned or fallback runtime changed. Teams should restart IDEs, verify the loaded runtime, review previously approved workspace MCP servers, inspect recently opened untrusted repositories and keep high-value credentials away from developer sessions that process external code.

Key Takeaways

  • check_circle AWS published five separate CVEs on December 1; four are rated High and the shell-tool symbolic-link read is rated Moderate in the project advisories.
  • check_circle CVE-2026-137931 and CVE-2026-137932 concern reuse of earlier MCP consent, but each requires a previously approved server and a specific configuration or workspace change.
  • check_circle CVE-2026-137933 affects the code review tool registered by the Visual Studio Code and JetBrains plugins, not the Eclipse or Visual Studio implementations described by AWS.
  • check_circle CVE-2026-137934 can expose an outside-workspace file to the chat without the expected approval; that read does not by itself send the file to the repository author.
  • check_circle CVE-2026-137935 can create a new file through a dangling symbolic link, but it requires agentic chat use, an absent destination and an existing writable parent directory.
  • check_circle AWS says there is no workaround. Restart the IDE, keep the plugin current and verify Language Servers for AWS 1.81.0 or later rather than relying on the visible plugin version.

What AWS Confirmed

Language Servers for AWS is the open-source runtime that supplies Amazon Q Developer's AI coding features in Visual Studio Code, JetBrains, Eclipse and Visual Studio. AWS publishes the runtime separately and as the npm package @aws/lsp-codewhisperer. The December 1 bulletin groups five newly disclosed issues because they all sit between repository-controlled input, agent decisions, approval prompts and the developer workstation, not because they share one exploit path.

The advisories do not report exploitation in the wild, affected customers or an incident campaign. They describe local attack paths in which a developer opens or uses a crafted workspace. That user interaction matters. A remote actor cannot infer workstation compromise merely because a repository was public or a plugin was installed, but a repository contributor may control configuration, filenames and symbolic links that the affected runtime later interprets.

The affected version ranges are uneven. Some consent and dangling-link issues were fixed in 1.71.0, 1.74.0 or 1.78.0, while the command-injection and outside-file-read paths require 1.81.0. Using the highest fixed floor is simpler and covers the earlier incomplete fixes. AWS also notes that runtime 1.81.0 corresponds to @aws/lsp-codewhisperer 0.0.130.

Five Paths Need Five Different Preconditions

CVE-2026-137931 applies when registry mode is active and a developer previously approved a workspace MCP server whose registry entry resolves to npm or PyPI. The stored consent fingerprint omitted some environment variables and headers later merged into the launch configuration. An actor able to change that repository configuration could therefore alter the launched process without triggering fresh consent. Direct program-and-argument configurations and container-image entries are outside this specific path.

CVE-2026-137932 is a different approval-identity error. For a matching MCP server name, the old check accepted a matching configuration fingerprint or a matching workspace rather than requiring both. A changed configuration in the same workspace, or a copied approval with a relative command in another workspace, could reuse consent and run different local content. The fix binds server name, configuration fingerprint and workspace to the same approval record.

The remaining three paths do not depend on MCP approval. CVE-2026-137933 let an agent-supplied file path reach a shell command without neutralizing special characters; a crafted workspace could cause command execution even if the user never requested code review. CVE-2026-137934 followed a symbolic link during a read-only shell operation without obtaining outside-workspace approval. CVE-2026-137935 let an agentic file tool create a new outside file through a link whose target did not yet exist. It did not silently overwrite an existing target.

Verify The Runtime That Actually Loaded

Amazon Q Developer plugins normally load the latest compatible language server when the IDE starts. AWS warns that the download needs network access and that offline installations, pinned runtimes and fallback copies may not update automatically. A marketplace page showing a current plugin is therefore useful inventory data, not proof of the active language-server version.

Restart each supported IDE after updating, then obtain the runtime version from the plugin's diagnostics, logs or managed endpoint inventory. Record the IDE, plugin build, loaded Language Servers for AWS version, @aws/lsp-codewhisperer version where applicable, update channel and last successful runtime download. Include remote development hosts, containers, virtual desktops and long-running IDE windows, not only developer laptops.

Forks and derivative tools need their own evidence. AWS explicitly recommends incorporating the fixes into derivative code. Search software bills of materials and package locks for @aws/lsp-codewhisperer, identify internal IDE distributions that pin the runtime, and compare their source to the 1.81.0 release. A patched upstream repository does not change a bundled copy that has not been rebuilt and redeployed.

Update, Restart And Exercise The Prompts

Move to Language Servers for AWS 1.81.0 or later and @aws/lsp-codewhisperer 0.0.130 or later. Keep the corresponding Amazon Q Developer plugin current, allow the runtime download through approved network controls, close all IDE processes and restart. Recheck the version from the running session. AWS lists no workaround, so workspace-trust conventions and endpoint isolation reduce exposure but do not replace the fixed runtime.

Use harmless regression repositories to test the repaired boundaries. Change an approved MCP server's environment or workspace and confirm a new consent decision is required. Exercise filenames containing shell metacharacters and confirm they are treated as literal paths. Test an existing link to an outside file and a dangling link to a writable outside location, verifying that the runtime prompts or blocks according to policy without changing sensitive data.

Treat repository trust as a layered decision. Review MCP configuration and symbolic links before opening unfamiliar code, disable unused agent tools, run external projects in disposable development environments, and avoid exposing personal cloud credentials, signing keys or production tokens to the same operating-system session. These controls limit consequences across the wider IDE extension surface, including flaws that a single runtime update cannot address.

Investigate Exposure Without Inventing A Breach

Start with the vulnerable window and the actual prerequisites. Identify repositories opened while an affected runtime was active, earlier MCP approvals, configuration changes, agentic chat sessions, code review activity and workspaces containing symbolic links. Preserve Amazon Q logs, IDE extension logs, shell and process telemetry, file-system events, package-manager records and repository revisions before routine cleanup removes them.

Look for unexpected child processes from the IDE, commands involving unusual workspace filenames, new files outside repository roots, reads of credential or configuration paths, changed MCP environment values and network activity that follows a suspicious local action. A file appearing in chat is not proof that an actor received it, while a command execution path may provide the additional exfiltration step. Scope conclusions should reflect which events the evidence actually shows.

If execution or secret access is credible, isolate the development session, revoke exposed tokens and sessions at their issuing services, review source-control and cloud audit logs, and rebuild the workstation or development container from a trusted baseline. Do not rotate every organizational secret solely because a vulnerable version existed. Rotate the credentials present in the affected security context, document remaining uncertainty and keep the runtime update mandatory even when the forensic review finds no compromise.

Checklist

  • Update Language Servers for AWS to 1.81.0 or later and @aws/lsp-codewhisperer to 0.0.130 or later.
  • Update the Amazon Q Developer IDE plugin, restart every IDE process and verify the loaded runtime from diagnostics or logs.
  • Inventory offline, pinned, fallback, remote-development and internally forked runtime copies that may not auto-update.
  • Review previously approved workspace MCP servers and require fresh consent after configuration, environment, header or workspace changes.
  • Inspect untrusted repositories for MCP configuration, unusual filenames and symbolic links before opening or using agentic tools.
  • Preserve IDE, process, file, repository and network telemetry for workspaces used during the affected window.
  • Revoke and replace only the developer credentials supported by exposure evidence, then rebuild affected sessions from trusted artifacts.

Sources

Related Articles

Continue Reading