CVE-2026-137933

OS command injection in the code review tool in Language Servers for AWS

Published Dec 1, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw is an OS command injection in the code review component of AWS Language Servers for AWS. It results from failing to properly neutralize characters that are interpreted by the operating system when executing commands. An attacker able to influence content opened into a workspace can cause the language server to run malicious commands with the privileges of the local user. This satisfies CWE‑78, an injection weakness that may compromise confidentiality, integrity, and availability of the machine hosting the server.

Affected Systems

AWS Language Servers for AWS and the npm package @aws/lsp-codewhisperer are affected when versions precede 1.81.0 (npm 0.0.130). These components run without the patch that neutralizes the injected elements, exposing local users to arbitrary command execution. All installations of the language server prior to 1.81.0 that process workspace files are vulnerable.

Risk and Exploitability

The CVSS score of 8.5 classifies the vulnerability as High severity, indicating substantial danger if exploited. However, the EPSS value of less than 1% suggests that the likelihood of real‑world exploitation is low at present. The flaw is not listed in the CISA KEV catalog, which further limits the probability of widespread attacks. The plausible attack path involves a user or process that can supply or modify workspace content; a malicious actor could embed payloads that cause the server to execute shell commands with local user rights. Preventing such exploitation requires updating the language server to a protected version.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the AWS Language Server to version 1.81.0 or later (npm @aws/lsp-codewhisperer 0.0.130 or newer).
  • If you are using the Amazon Q Developer IDE plugin, restart your IDE so it loads the updated language server and keep the plugin itself updated to the latest release.
  • In environments where an upgrade cannot be immediately applied, remove or sanitize any workspace files that may contain crafted content and restrict the local user’s permissions when running the language server.

Generated by OpenCVE AI on December 3, 2026 at 17:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title OS command injection in the code review tool in Language Servers for AWS
First Time appeared Aws
Aws aws Lsp-codewhisperer
Aws language-servers
Weaknesses CWE-78
CPEs cpe:2.3:a:aws:aws_lsp-codewhisperer:*:*:*:*:*:*:*:*
cpe:2.3:a:aws:language-servers:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws Lsp-codewhisperer
Aws language-servers
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Dec 2, 2026, 8:55 PM
Reserved
Nov 27, 2026, 1:29 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 8:18 PM
Modified
Dec 2, 2026, 9:18 PM