CVE-2026-137933 and four more: Amazon Q Developer's language server could be made to run commands from a booby-trapped workspace, reuse MCP consent and step outside the workspace through symlinks (AWS bulletin 2026-206)
On 1 December 2026 AWS published five CVEs for Language Servers for AWS (npm @aws/lsp-codewhisperer), the runtime behind the Amazon Q Developer plugins for VS Code, JetBrains, Eclipse and Visual Studio. The worst, CVE-2026-137933, let crafted workspace content make the agent's code review tool run shell commands as the user, even without the user asking for a review. Two flaws let changed or copied workspace MCP configs run without a new consent prompt, and two let symlinks get file reads and writes past the workspace boundary. All are fixed in Language Servers for AWS 1.81.0 (npm 0.0.130).
What it is
CVE-2026-137933 (before 1.81.0): the code review tool passed agent-supplied file paths to a shell command without neutralizing special characters. Crafted content in an opened workspace could make the agent run arbitrary commands with the user's privileges. Only the VS Code and JetBrains plugins register this tool.
CVE-2026-137931 (1.65.0 to before 1.78.0) and CVE-2026-137932 (1.65.0 to before 1.71.0) are leftovers from the CVE-2026-12957 fix. The MCP consent fingerprint skipped some merged environment variables and headers. The consent check also accepted either a matching fingerprint or a matching workspace instead of requiring both. As a result, a modified or copied workspace MCP server config could launch different code with no new prompt.
CVE-2026-137934 (before 1.81.0): the shell tool's workspace boundary check did not resolve symlinks, so a crafted link let read-only commands read files outside the workspace without approval. CVE-2026-137935 (1.69.0 to before 1.74.0, an incomplete fix for CVE-2026-12958): a dangling symlink let agent file writes land outside the workspace without the approval prompt.
AWS says the plugin version alone does not show which language server runtime is in use. The plugins normally fetch the latest runtime when the IDE starts, but offline, pinned or fallback installs may not update. No workarounds are available.
How to check
- Make sure the Amazon Q Developer plugin is current and restart the IDE so it loads the latest Language Servers for AWS runtime (1.81.0 or later).
- If you vendor or fork @aws/lsp-codewhisperer, check that the version is 0.0.130 or later.
- Be careful with untrusted repositories that ship workspace MCP configs or symlinks pointing outside the project.
How to fix
- Upgrade to Language Servers for AWS 1.81.0 / @aws/lsp-codewhisperer 0.0.130 or later (this covers all five CVEs), then restart the IDE.
- For offline or pinned installs, update the runtime by hand. Forks and derivative code need the same fixes.
- Review the workspace MCP servers you approved earlier and remove any you do not recognise.
npm ls @aws/lsp-codewhisperer # 0.0.130 or later
find . -type l -exec ls -l {} + 2>/dev/null | head # symlinks in a repo you are about to open Sources
- criticalCVE-2026-87911: AWS postgres-mcp-server's read-only mode can be bypassed to run OS commands
- highCVE-2026-136267: Kiro Web agents running DeepSeek v3.2, GLM-5, MiniMax or Qwen3-coder-next could repeat tool-call markup from a file or web page and run it as a command without a consent prompt (fixed service-side 30 Oct)
- highCVE-2025-8217: malicious code shipped in Amazon Q Developer 1.84.0
- mediumCVE-2026-124848: Kiro CLI (formerly Amazon Q Developer CLI) left session transcripts and prompt history readable by other local users