# GHSA-JX5V-92WJ-37JP: Incomplete fix for CVE-2026-12957: incorrect MCP server consent match logic in Language Servers for AWS

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

## Tracked as

- [CVE-2026-137932](https://cve.now/CVE-2026-137932.md): Incomplete fix for CVE-2026-12957: incorrect MCP server consent match logic in Language Servers for AWS

## Affected versions

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

## 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 changed or copied workspace MCP server configuration is accepted under an earlier consent approval 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 an MCP server with the same name, either in the same workspace with a different configuration, or with an identical configuration in a different workspace, where a relative command could run different workspace-local content.

**Impacted versions:** >= 1.65.0 AND < 1.71.0; @aws/lsp-codewhisperer >= 0.0.113 AND < 0.0.120

## Patches

This issue has been addressed in Language Servers for AWS version 1.71.0 [[https://github.com/Amazon-Q-Developer/language-servers/releases/tag/v1.71.0](https://github.com/Amazon-Q-Developer/language-servers/releases/tag/v1.71.0)] and the npm package @aws/lsp-codewhisperer 0.0.120 [[https://www.npmjs.com/package/@aws/lsp-codewhisperer/v/0.0.120](https://www.npmjs.com/package/@aws/lsp-codewhisperer/v/0.0.120)]. The fix requires the MCP server name, configuration fingerprint and workspace to match the same stored approval before consent can be reused. An approval for another workspace or a different configuration fingerprint no longer satisfies the consent check.

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-jx5v-92wj-37jp

Page: https://cve.now/GHSA-JX5V-92WJ-37JP

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