CVE-2026-137933: OS command injection in the code review tool in Language Servers for AWS
Improper neutralization of special elements used in an OS command in the code review tool in Language Servers for AWS before 1.81.0 might allow context-dependent actors to execute arbitrary commands with the privileges of the local user via crafted content in a workspace opened by a local user.
This issue was fixed in Language Servers for AWS 1.81.0 (npm @aws/lsp-codewhisperer 0.0.130). To remediate this issue, users should upgrade to Language Servers for AWS 1.81.0 or later (npm @aws/lsp-codewhisperer 0.0.130 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Language Servers for AWSto a version that resolves this vulnerability.Fixed in 1.81.0 - Operational
Restart the IDE to receive the latest language server.
Event History
Frequently Asked Questions
Who is exposed to exploitation?
Users running Language Servers for AWS before 1.81.0 are exposed when they open a workspace containing crafted content. Exploitation runs commands with the privileges of the local user who opens the workspace.
What does an attacker need to exploit this issue?
An attacker needs to provide crafted content in a workspace and have a local user open that workspace. The vulnerability has no required privileges but does require user interaction.
Which versions remediate the issue?
Upgrade Language Servers for AWS to version 1.81.0 or later. For the npm package, upgrade @aws/lsp-codewhisperer to version 0.0.130 or later.
What should Amazon Q Developer IDE plugin users do?
Restart the IDE to receive the latest language server, and keep the Amazon Q Developer IDE plugin up to date.