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.