AWS LSP CodeWhisperer <1.78.0 RCE via MCP consent bypass
CVE-2026-137931 Published on December 1, 2026
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.
Vulnerability Analysis
CVE-2026-137931 can be exploited with local system access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
Incomplete Comparison with Missing Factors
The software performs a comparison between entities that must consider multiple factors or characteristics of each entity, but the comparison does not include one or more of these factors. An incomplete comparison can lead to resultant weaknesses, e.g., by operating on the wrong object or making a security decision without considering a required factor.
Products Associated with CVE-2026-137931
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-137931 are published in these products:
Affected Versions
AWS language-servers:- Version 1.65.0 and below 1.78.0 is affected.
- Version 0.0.113 and below 0.0.127 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.