On December 1, AWS disclosed five flaws in Language Servers for AWS, the runtime behind Amazon Q Developer in VS Code, JetBrains, Eclipse and Visual Studio. Crafted project content could make the agent run commands, and approved tool servers could change without a fresh prompt.
The five flaws
The worst flaw needs no user action at all. In the code review tool, file paths chosen by the agent reached a shell command with special characters intact. A workspace opened by a developer could make the agent run arbitrary commands with that developer’s privileges, without any code review request.
Two flaws strike at the consent prompts guarding MCP servers. The fingerprint remembering an approved server missed some environment variables and headers, so an actor who could change them might run code without a new prompt. A second check accepted either the configuration or the workspace, instead of requiring both.
Two more flaws abuse symbolic links to slip past the workspace boundary. One let a link expose outside files to the shell tool, without the approval prompt, for commands classed as read-only. The other let the agent write a file outside the workspace through a link to a missing target.
The fix, and the catch
All five flaws are fixed, but only in the newest runtime. The fixes land across versions 1.71.0, 1.74.0, 1.78.0 and 1.81.0, so version 1.81.0 covers everything. The plugins normally load the latest runtime when the IDE starts, and AWS says to keep the plugin current and restart the IDE.
There is no workaround, so the update is the only fix. That matters for developers with pinned runtimes or offline installs, which may not update on their own. AWS warns those setups need a manual update, and adds that the plugin version alone does not show which runtime is loaded.
Why the same flaws keep coming back
Three of the five flaws are repeat offenders. AWS says they are remaining issues in the fixes for two earlier flaws, CVE-2026-12957 and CVE-2026-12958, from an earlier bulletin. The pattern matters: consent checks and workspace boundaries are the exact controls a coding agent must get right, and they keep slipping.
Why agents make it worse
Coding agents raise the stakes of these flaws. An editor flaw needs someone to open a tainted file; an agent flaw needs only a readable project. The agent treats file content as instructions, so a booby-trapped workspace turns the assistant into an attacker, with the developer’s privileges and approved tools.
Credit where it is due: AWS named the two researchers who reported the flaws via coordinated disclosure, and the bulletin is specific about affected versions and the fix for each flaw. It does not say whether anyone exploited the flaws, so developers should treat this update as urgent, not routine.
Why It Matters
This is the third urgent security fix for a widely used AI tool this week. Docker’s sandboxes and vLLM shipped patches in the same days, and the lesson is the same: tools that write code need the same scrutiny as the code. Update, restart, and check the runtime that loads.
Background
Amazon Q Developer is AWS’s coding assistant, its runtime powering the plugins in the IDEs. The flaws arrive as agents take on more building, from writing code to running shell commands. Anthropic shipped honeytokens to catch straying agents, a reminder that the agent, not just the code, needs watching.
Source: AWS security bulletin.


0 Comments