All vulnerabilities
CVE-2026-12957GHSA-xhcr-j4j9-3gh7

@aws/lsp-codewhisperer: Language Servers for AWS Vulnerable to Arbitrary Code Execution

Amazon Web Services @aws/lsp-codewhisperernpmContainers & cloud
CVSS
8.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.23%Chance of exploitation activity in the next 30 days, higher than 13% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in0.0.113Also 1.65.0GitHub
Published23 Jun 2026Updated 24 Sep 2026CVE List

What fixes it

  • 0.0.113@aws/lsp-codewhisperer, npmGitHubnpm install @aws/lsp-codewhisperer@0.0.113
  • 1.65.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) provide the underlying language-server runtime that powers Amazon Q Developer's AI coding assistance across its IDE plugins (Visual Studio Code, JetBrains, Eclipse, and Visual Studio).

Improper trust boundary enforcement in Language Servers for AWS may allow for arbitrary code execution. If a local user opens a maliciously crafted workspace, any commands within the project configuration files may be automatically executed.

Impact

When a local user opens a maliciously crafted workspace and trusts it when prompted, commands defined in the workspace's project-level configuration files may be executed automatically, resulting in arbitrary code execution on the user's host.

This issue is triggered when a user opens a workspace, trusts it, and the agent subsequently executes commands defined in the project-level configuration files.

Impacted versions: Language Servers for AWS version <1.65.0.

Patches

This issue has been addressed in Language Servers for AWS version 1.65.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 asks 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.113GitHub
  • Language Servers for AWSaffected: all versions before 1.65.0CVE List
  • @aws/lsp-codewhisperer, npmfrom first release, fixed in 0.0.113OSV

References 10