CVE-2026-12957: Arbitrary Code Execution in Language Servers for AWS

Published Jun 23, 2026
·
Updated

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. 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.

Other sources

Improper trust boundary enforcement in Language Servers for AWS before version 1.65.0 on all supported platforms may allow a for arbitrary code execution. If a local user opens a maliciously crafted workspace, any commands within the project configuration files may be automatically executed. This issue requires the user to trust the workspace when prompted.

To remediate this issue, users should upgrade to Language Servers for AWS version 1.65.0 or higher.

— NVD

Affected Software

2 affected componentsFixes available
Amazon Web Services Language Servers for AWS<1.65.0
npm/@aws/lsp-codewhisperer<0.0.113
0.0.113

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@aws/lsp-codewhisperer to a version that resolves this vulnerability.

    Fixed in 0.0.113
  2. Upgrade

    Upgrade Language Servers for AWS to a version that resolves this vulnerability.

    Fixed in 1.65.0

Event History

Jun 23, 2026
CVE Published
via MITRE·04:02 PM
Data Sourced
via MITRE·04:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Jun 29, 2026
News Published
via Dark Reading·11:44 AM
News Published
via Dark Reading·06:46 PM
Sep 24, 2026
Advisory Published
via GitHub·07:13 PM
Data Sourced
via GitHub·07:13 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-12957?

The severity of CVE-2026-12957 is high, rated at 8.5.

2

How do I fix CVE-2026-12957?

To fix CVE-2026-12957, update the Language Servers for AWS to version 1.65.0 or later.

3

What kind of vulnerability is CVE-2026-12957?

CVE-2026-12957 is an arbitrary code execution vulnerability due to improper trust boundary enforcement.

4

What platforms are affected by CVE-2026-12957?

CVE-2026-12957 affects all supported platforms running Language Servers for AWS prior to version 1.65.0.

5

What happens if I exploit CVE-2026-12957?

Exploiting CVE-2026-12957 allows an attacker to execute arbitrary commands through malicious project configuration files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203