CVE-2026-137932

Incomplete fix for CVE-2026-12957: incorrect MCP server consent match logic in Language Servers for AWS

Published Dec 1, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
Use of an incorrect operator in the MCP server consent check in Language Servers for AWS 1.65.0 before 1.71.0 might allow an actor to execute arbitrary code on a developer's workstation without a new consent prompt via a modified or copied workspace MCP configuration, due to an incomplete fix for CVE-2026-12957.



This issue was fixed in Language Servers for AWS 1.71.0 (npm @aws/lsp-codewhisperer 0.0.120). To remediate this issue, users should upgrade to Language Servers for AWS 1.71.0 or later (npm @aws/lsp-codewhisperer 0.0.120 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.

Analysis

AI-generated

Technical impact

The vulnerability arises from an incorrect operator used in the MCP server consent check within AWS Language Servers for AWS, allowing an actor to execute arbitrary code on a developer’s workstation without a new consent prompt. This flaw, demonstrated in versions 1.65.0 through 1.70.x, results in remote code execution. An attacker who can influence or craft the MCP configuration can run arbitrary code, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

Affected products include AWS Language Servers for AWS version 1.65.0 through 1.70.x and the associated @aws/lsp-codewhisperer NPM package earlier than 0.0.120. These components are used by developers integrating AWS language services into their development environments, such as IDE plugins. All users running the vulnerable versions are impacted until they upgrade to 1.71.0 or later.

Risk and Exploitability

The CVSS score of 7.3 reflects a high severity, but the EPSS score of less than 1% indicates that exploitation is unlikely at present. The vulnerability is not listed as a Known Exploited Vulnerability (KEV). Exploitation requires the ability to modify or supply a workspace MCP configuration, meaning the attack is likely to be local or from a compromised configuration source. Based on the description, the likely attack vector is inferred to be local or from a tampered configuration source. While the logic bypass skips a user consent prompt, the required prerequisite of a tampered configuration reduces the attack surface, yet the ability to execute arbitrary code remains a serious threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Language Servers for AWS v1.71.0 or later (npm @aws/lsp-codewhisperer v0.0.120 or newer).
  • For Amazon Q Developer IDE plugin users, restart the IDE to load the updated language server.
  • Keep the IDE plugin and language server up to date to receive further security fixes.

Generated by OpenCVE AI on December 3, 2026 at 17:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Use of an incorrect operator in the MCP server consent check in Language Servers for AWS 1.65.0 before 1.71.0 might allow an actor to execute arbitrary code on a developer's workstation without a new consent prompt via a modified or copied workspace MCP configuration, due to an incomplete fix for CVE-2026-12957. This issue was fixed in Language Servers for AWS 1.71.0 (npm @aws/lsp-codewhisperer 0.0.120). To remediate this issue, users should upgrade to Language Servers for AWS 1.71.0 or later (npm @aws/lsp-codewhisperer 0.0.120 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.
Title Incomplete fix for CVE-2026-12957: incorrect MCP server consent match logic in Language Servers for AWS
First Time appeared Aws
Aws aws Lsp-codewhisperer
Aws language-servers
Weaknesses CWE-480
CWE-863
CPEs cpe:2.3:a:aws:aws_lsp-codewhisperer:*:*:*:*:*:*:*:*
cpe:2.3:a:aws:language-servers:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws Lsp-codewhisperer
Aws language-servers
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Dec 2, 2026, 8:56 PM
Reserved
Nov 27, 2026, 1:29 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 8:18 PM
Modified
Dec 2, 2026, 9:18 PM