Language Servers for AWS MCP consent flaw allows command execution on developer PCs
CVE-2026-137931
An AI coding helper's settings can be changed to secretly run commands on developer PCs.
- CVE
- CVE-2026-137931 (opens in a new tab)
- Score
- CVSS 7.8
- First seen
Mitigation
Update Language Servers for AWS to 1.78.0 or later (npm @aws/lsp-codewhisperer 0.0.127 or later). After updating, restart your IDE to get the latest language server.
Summary
An incomplete MCP server consent check in Language Servers for AWS lets an attacker who changes an approved workspace configuration run commands on a developer's workstation. Developers using Amazon Q Developer IDE plugins are affected, on versions 1.65.0 up to but not including 1.78.0.
Affected when
- Registry mode is active
- Approved workspace MCP server whose registry entry resolves to npm or PyPI
- Attacker can change the environment variables of that server's configuration
4 other Incidents of this product in the last 30 days
Incidents by product: aws/lsp-codewhisperer · AWS language-servers
Other recent Incidents of aws/lsp-codewhisperer
Read the advisory · github.com (opens in a new tab)
Advisory (3): github.com, npmjs.com and more
- CVE record: cve.org (opens in a new tab)