CVE-2026-137931: Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS
Incomplete comparison in the MCP server consent check in Language Servers for AWS 1.65.0 before 1.78.0 might allow an actor to execute arbitrary code on a developer's workstation without a new consent prompt via a modified workspace MCP configuration, due to an incomplete fix for CVE-2026-12957.
To remediate this issue, users should upgrade to Language Servers for AWS 1.78.0 or later (npm @aws/lsp-codewhisperer 0.0.127 or later). Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.78.0 - Operational
Restart the IDE to receive the latest language server.
Event History
Frequently Asked Questions
Who is exposed to this issue?
Developers using Language Servers for AWS versions 1.65.0 through before 1.78.0 may be exposed when they open a workspace with a modified MCP configuration. Amazon Q Developer IDE plugin users are also affected if their plugin is using an older language server.
What does an attacker need to exploit it?
An attacker needs to provide or modify a workspace MCP configuration that is processed by the affected language server. Exploitation also requires the developer to interact with the workspace, as reflected by the UI:R vector.
Can exploitation occur without another consent prompt?
Yes. A modified workspace MCP configuration may allow arbitrary code execution on the developer workstation without triggering a new consent prompt because the server consent fingerprint comparison is incomplete.
What should teams do if they use the affected language server?
Upgrade Language Servers for AWS to version 1.78.0 or later, or upgrade npm package @aws/lsp-codewhisperer to version 0.0.127 or later. Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin updated.