CVE-2026-137934: Workspace boundary bypass via symbolic link in the shell command tool in Language Servers for AWS
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.
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 this issue?
Users of Language Servers for AWS versions before 1.81.0 are affected when they open a workspace containing a crafted symbolic link. The issue requires a local user to open that workspace.
What does an attacker need to exploit it?
An attacker needs to provide or induce use of a workspace containing a crafted symbolic link. Exploitation also requires user interaction because a local user must open the workspace.
What is the impact of successful exploitation?
The shell command tool may read files outside the opened workspace without showing the expected approval prompt. The reported impact is confidentiality only; integrity and availability are not affected.
How can I remediate the issue?
Upgrade Language Servers for AWS to version 1.81.0 or later, or upgrade npm @aws/lsp-codewhisperer to version 0.0.130 or later. Amazon Q Developer IDE plugin users should keep the plugin updated and restart their IDE to receive the latest language server.