Language Servers for AWSの脆弱性、細工されたMCP設定で任意のコードを実行されるおそれ
Summary
Language Servers for AWSでは、MCPサーバーの同意確認が不完全なため、細工されたワークスペースのMCP設定により、開発者の端末で任意のコードを実行されるおそれがあります。影響を受けるのは1.65.0以上1.78.0未満で、1.78.0以降に修正されています。npmの@aws/lsp-codewhispererを使う場合は0.0.127以降へ更新してください。Amazon Q Developer IDEプラグインを使う場合は、IDEを再起動して最新の言語サーバーを受け取ってください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Language Servers for AWSでは、MCPサーバーの同意確認が不完全なため、細工されたワークスペースのMCP設定により、開発者の端末で任意のコードを実行されるおそれがあります。影響を受けるのは1.65.0以上1.78.0未満で、1.78.0以降に修正されています。npmの@aws/lsp-codewhispererを使う場合は0.0.127以降へ更新してください。Amazon Q Developer IDEプラグインを使う場合は、IDEを再起動して最新の言語サーバーを受け取ってください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AWSlanguage-servers |
≥ 1.65.0, < 1.78.0→ 1.78.0 |
1.78.0 |
| AWSaws/lsp-codewhisperer |
≥ 0.0.113, < 0.0.127→ 0.0.127 |
0.0.127 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory aws.amazon.com
- advisory github.com
- advisory nvd.nist.gov
- AWS aws.amazon.com
- patch github.com
- patch npmjs.com