@aws/lsp-codewhisperer: Language Servers for AWS vulnerable to arbitrary file write
What fixes it
- 0.0.117@aws/lsp-codewhisperer, npmGitHub
npm install @aws/lsp-codewhisperer@0.0.117 - 1.69.0Language Servers for AWSCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Summary
Language Servers for AWS (the aws/language-servers project) provides the Language Server Protocol implementations that power AWS developer tooling, including the Amazon Q Developer agentic chat experience, across IDEs such as VS Code, JetBrains, Visual Studio, and Eclipse.
Missing symlink validation in Language Servers for AWS may allow an arbitrary file write outside of the workspace trust boundary. This may occur when a local user opens a workspace containing a maliciously crafted symlink that resolves to a file path outside the workspace trust boundary.
Impact
If a user opens a maliciously crafted workspace containing a symlink that resides within the workspace but resolves to a location outside the workspace trust boundary, the agent may follow that symlink and write to the external location without prompting the user for approval. This can result in the modification of files outside the intended workspace boundary.
This issue is triggered when a user opens a workspace, trusts it, and the agent subsequently writes to a path within that workspace.
Impacted versions: Language Servers for AWS version <1.69.0.
Patches
This issue has been addressed in AWS Language Servers version 1.69.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds
No workarounds are available.
References
If you have any questions or comments about this advisory, AWS Security ask that you contact them via their vulnerability reporting page or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.
Acknowledgement
AWS Security would like to thank Wiz and Maor Dokhanian for collaborating on this issue through the coordinated vulnerability disclosure process.
Text from GitHub Advisory Database
Affected versions 3
- @aws/lsp-codewhisperer, npm< 0.0.117GitHub
- Language Servers for AWSaffected: all versions before 1.69.0CVE List
- @aws/lsp-codewhisperer, npmfrom first release, fixed in 0.0.117OSV
References 9
- github.com/Amazon-Q-Developer/language-servers/commit/6c279b083cc192aa5df1f38c2c185576fd5234f5Fixvia GitHub
- github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.69.0Fixvia GitHub
- github.com/Amazon-Q-Developer/language-servers/releases/tag/lsp-codewhisperer/v0.0.117Fixvia GitHub
- github.com/aws/language-servers/security/advisories/GHSA-6v3r-4p5c-mrp5Advisoryvia CVE List
- aws.amazon.com/security/security-bulletins/2026-047-awsAdvisoryvia GitHub
- github.com/advisories/GHSA-6v3r-4p5c-mrp5Advisoryvia GitHub
- aws.amazon.com/security/security-bulletins/2026-047-aws/Advisoryvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2026-12958Referencevia GitHub
- github.com/Amazon-Q-Developer/language-servers/pull/2742Referencevia GitHub