CVE-2026-137931

7.8High

Published Dec 1, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-1023

What an attacker gets

An attacker can execute arbitrary code on a developer's workstation. This requires a user to interact with a modified workspace MCP configuration.

Root cause

An incomplete comparison check in the MCP server consent logic allows unauthorized command execution.

Affected versions

Language Servers for AWS 1.65.0 through 1.77.x, specifically @aws/lsp-codewhisperer versions before 0.0.127.

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Language Servers for AWS 1.78.0 or @aws/lsp-codewhisperer 0.0.127. If using the Amazon Q Developer IDE plugin, restart the IDE to pull the update.

remediation — bash
$ npm install @aws/lsp-codewhisperer@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137931

More fully triaged vulnerabilities you may want to check next.