CVE-2026-137931

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

Published Dec 1, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an incomplete comparison in the MCP server consent check used by AWS Language Server components before version 1.78.0. This flaw, inherited from a prior CVE-2026-12957 issue, allows an attacker who can supply a modified workspace MCP configuration to execute arbitrary code on the developer’s machine without triggering the expected consent prompt. The weakness is a CWE-1023 incomplete validation flaw.

Affected Systems

AWS Language Server components, specifically the aws/lsp-codewhisperer package (npm @aws/lsp-codewhisperer) and the language-servers runtime, are affected. Versions 1.65.0 through before 1.78.0 are impacted. Updating to language-servers 1.78.0 or npm @aws/lsp-codewhisperer 0.0.127 and later mitigates the issue.

Risk and Exploitability

The CVSS score of 7.3 indicates high severity, but the EPSS score of less than 1% shows that the probability of exploitation is currently low. The vulnerability is not listed in CISA KEV. The likely attack vector is local; based on the description it is inferred that an attacker must manipulate the workspace’s MCP configuration file or otherwise influence the environment where the language server runs. Successful exploitation grants code execution privileges on the developer’s workstation, potentially enabling data exfiltration or further malicious actions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Language Servers for AWS 1.78.0 or later (npm @aws/lsp-codewhisperer 0.0.127 or newer).
  • Restart the Amazon Q Developer IDE plugin to load and use the updated language server.
  • If upgrade is delayed, isolate the language server to a secure environment and avoid loading untrusted MCP configurations.

Generated by OpenCVE AI on December 3, 2026 at 18:00 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 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.
Title Incomplete fix for CVE-2026-12957: incomplete MCP server consent fingerprint in Language Servers for AWS
First Time appeared Aws
Aws aws Lsp-codewhisperer
Aws language-servers
Weaknesses CWE-1023
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
  • CWE-1023

    Incomplete Comparison with Missing Factors

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Dec 2, 2026, 8:57 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