Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS
Description
Language Servers for AWS is the open-source language server that powers Amazon Q Developer agentic chat in the Amazon Q Developer IDE plugins and is published on npm as @aws/lsp-codewhisperer. An issue exists where, under certain circumstances, a change to the environment variables of a previously approved workspace MCP server does not trigger a new consent prompt in Language Servers for AWS.
Impact
An actor who can modify the MCP configuration of a repository a developer uses might execute arbitrary code with the developer's OS user privileges, without a new consent prompt. The issue requires that the developer previously approved a workspace-scoped MCP server whose registry entry resolves to an npm or PyPI server, with registry mode active. MCP server configurations that specify a program and its arguments directly, or identify a container image, are not affected by this specific issue.
Impacted versions: >= 1.65.0 AND < 1.78.0; @aws/lsp-codewhisperer >= 0.0.113 AND < 0.0.127
Patches
This issue has been addressed in Language Servers for AWS version 1.78.0 [github.com/
Workarounds
There is no workaround available.
References
If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.