CVE-2026-137935: Incomplete fix for CVE-2026-12958: arbitrary file creation outside the workspace trust boundary in Language Servers for AWS
Improper link resolution in the workspace boundary check in Language Servers for AWS 1.69.0 through 1.73.0 might allow context-dependent threat actors to create files outside the workspace trust boundary without the expected approval prompt via a crafted symbolic link, whose target does not yet exist, in a workspace opened by a local user, due to an incomplete fix for CVE-2026-12958.
This issue was fixed in version 1.74.0 (npm package @aws/lsp-codewhisperer 0.0.123). To remediate this issue, users should upgrade to Language Servers for AWS 1.74.0 or later (npm @aws/lsp-codewhisperer 0.0.123 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
npm/@aws/lsp-codewhispererto a version that resolves this vulnerability.Fixed in 0.0.123 - Operational
Restart the IDE to receive the latest language server.
Event History
Frequently Asked Questions
Who is exposed to this issue?
Local users who open a workspace containing a crafted symbolic link are exposed when using Language Servers for AWS versions 1.69.0 through 1.73.0. The symbolic link target must not yet exist.
What does exploitation require?
Exploitation requires a local user to open a crafted workspace. The issue can then allow file creation outside the workspace trust boundary without the expected approval prompt.
Which versions remediate the issue?
Upgrade Language Servers for AWS to version 1.74.0 or later. For the npm package, upgrade @aws/lsp-codewhisperer to version 0.0.123 or later.
What should Amazon Q Developer IDE plugin users do after updating?
Restart the IDE to receive the latest language server, and keep the Amazon Q Developer IDE plugin up to date.