Skip to main content
Menu
Advisories

Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS

GHSA-G7WJ-XM2J-MHQ3Published Updated GitHub

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/Amazon-Q-Developer/language-servers/releases/tag/v1.78.0] and the npm package @aws/lsp-codewhisperer 0.0.127 [npmjs.com/package/@aws/lsp-codewhisperer/v/0.0.127]. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.

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.

Affected versions

References

GitHub · Amazon-Q-Developer/language-servers