CVE-2026-12958: Arbitrary file write in Language Servers for AWS

Published Jun 23, 2026
·
Updated

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

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 with a maliciously crafted symlink that resolves to a file path outside the workspace trust boundary.

To remediate this issue, users should upgrade to version 1.69.0 or higher.

— NVD

Affected Software

2 affected componentsFixes available
Amazon AWS Toolkit for Visual Studio Code<1.69.0
npm/@aws/lsp-codewhisperer<0.0.117
0.0.117

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.117
  2. Upgrade

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

    Fixed in 1.69.0

Event History

Jun 23, 2026
CVE Published
via MITRE·04:03 PM
Data Sourced
via MITRE·04:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Sep 24, 2026
Advisory Published
via GitHub·07:15 PM
Data Sourced
via GitHub·07:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-12958?

The severity of CVE-2026-12958 is rated as high with a score of 8.5.

2

How do I fix CVE-2026-12958?

To fix CVE-2026-12958, ensure that your workspace does not allow untrusted symlinks and validate symlink paths properly.

3

What does CVE-2026-12958 affect?

CVE-2026-12958 affects the Amazon AWS Toolkit for Visual Studio Code, specifically related to how it handles symlink validations.

4

What is the exploitation method for CVE-2026-12958?

CVE-2026-12958 can be exploited when a local user opens a workspace containing a maliciously crafted symlink.

5

What are the potential impacts of CVE-2026-12958?

The potential impacts of CVE-2026-12958 include arbitrary file write outside of the workspace trust boundary, leading to possible data compromise.

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