CVE-2026-137934

Workspace boundary bypass via symbolic link in the shell command tool in Language Servers for AWS

Published Dec 1, 2026 CVSS 4.0 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
Improper link resolution in the workspace boundary check of the shell command tool in Language Servers for AWS before 1.81.0 might allow context-dependent threat actors to read files outside the workspace without the expected approval prompt via a crafted symbolic link 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

An improper link resolution flaw in the workspace boundary check of the shell command tool in Language Servers for AWS allows a crafted symbolic link to escape the workspace directory. This can cause the tool to read files located outside the intended workspace without prompting the user. The vulnerability is a classic path traversal weakness (CWE-59) and may expose sensitive configuration or source files, impacting confidentiality.

Affected Systems

AWS Language Servers for AWS, including the aws/lsp-codewhisperer project and the aws/language-servers package, are affected. Any deployment of these tools with a version prior to 1.81.0 (npm @aws/lsp-codewhisperer 0.0.130) is vulnerable. The issue was addressed in release 1.81.0.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.7, indicating a medium severity level. Its EPSS score is below 1% and it is not listed in the CISA KEV catalog, suggesting that exploitation is currently unlikely but still possible in a context where a threat actor can run the shell command tool with access to create symbolic links within a workspace. An attacker could craft a symlink pointing to sensitive files outside the workspace and then trigger a shell command that causes the language server to resolve the link, thereby leaking file contents.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade AWS Language Servers for AWS to version 1.81.0 or later (npm @aws/lsp-codewhisperer@0.0.130+).
  • Restart the Amazon Q Developer IDE plugin after updating to ensure the new language server is loaded.
  • Check existing workspaces for symbolic links that point outside the workspace directory and remove or restrict them to trusted users only.

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': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper link resolution in the workspace boundary check of the shell command tool in Language Servers for AWS before 1.81.0 might allow context-dependent threat actors to read files outside the workspace without the expected approval prompt via a crafted symbolic link 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 Workspace boundary bypass via symbolic link in the shell command tool in Language Servers for AWS
First Time appeared Aws
Aws aws Lsp-codewhisperer
Aws language-servers
Weaknesses CWE-59
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': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

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

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Dec 2, 2026, 8:50 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