# GHSA-G7WJ-XM2J-MHQ3: Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS

- Database: GitHub
- Severity: CVSS 7.8 (High)
- Published: 2026-12-01
- Modified: 2026-12-01

## Tracked as

- [CVE-2026-137931](https://cve.now/CVE-2026-137931.md): Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS

## Affected versions

- @aws/lsp-codewhisperer (npm): from 0.0.113, fixed in 0.0.127

## Description

## Summary

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 [[https://github.com/Amazon-Q-Developer/language-servers/releases/tag/v1.78.0](https://github.com/Amazon-Q-Developer/language-servers/releases/tag/v1.78.0)] and the npm package @aws/lsp-codewhisperer 0.0.127 [[https://www.npmjs.com/package/@aws/lsp-codewhisperer/v/0.0.127](https://www.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](https://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.

## References

- https://github.com/Amazon-Q-Developer/language-servers/security/advisories/GHSA-g7wj-xm2j-mhq3

Page: https://cve.now/GHSA-G7WJ-XM2J-MHQ3

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
