High (AgentArmorHQ estimate)Path traversal

Language Servers for AWS can write files outside the workspace through a symlink

Product
Language Servers for AWS (aws/language-servers)
CVE
CVE-2026-12958
Affected
Language Servers for AWS <1.69.0; npm @aws/lsp-codewhisperer < 0.0.117
Fixed in
1.69.0 (npm @aws/lsp-codewhisperer 0.0.117)

Last verified against sources: October 26, 2026

Am I affected?

Language Servers for AWS (aws/language-servers): affected Language Servers for AWS <1.69.0; npm @aws/lsp-codewhisperer < 0.0.117. Fixed in 1.69.0 (npm @aws/lsp-codewhisperer 0.0.117).

  • Check your version: run npm ls @aws/lsp-codewhisperer. Versions < 0.0.117 of @aws/lsp-codewhisperer are affected. [1]

What to do now

  1. Upgrade to the fixed version: run npm install @aws/lsp-codewhisperer@0.0.117 (first patched version 0.0.117). [1]
  2. Upgrade Language Servers for AWS to version 1.69.0 or later. [1]
  3. Upgrade the npm package @aws/lsp-codewhisperer to 0.0.117 or later. [1]
  4. No workarounds are available. [1]

General practice, not from the source: if the affected software could read tokens or credentials, rotate them after upgrading; pin versions and review changes before updating tools your agents run.

Discuss this incident

What happened

  • Language Servers for AWS does not check symbolic links (symlinks, shortcuts that point to another file) before writing files. [1]
  • A workspace can contain a symlink that sits inside the workspace but points to a file outside the workspace trust boundary. [1]
  • When a user opens and trusts such a workspace, the agent may follow the symlink and write to the outside file. [1]

Impact

  • An attacker could get files outside the workspace changed. [1]
  • The write happens without the user being asked to approve it. [1]

What was done

  • The issue was fixed in AWS Language Servers version 1.69.0. [1]
  • AWS recommends upgrading to the latest version and patching any forked or derivative code. [1]
  • No workarounds are available. [1]

Sources

  1. GHSA-6v3r-4p5c-mrp5 — GitHub Advisory Database

Every statement above was checked against these sources before publishing. Spotted an error? Tell us and we will correct it with a dated note.

Share advisory brief with your team

Copy a plain-text summary for Slack, GitHub issues, or team security channels.

Brief
[CVE-2026-12958] Language Servers for AWS can write files outside the workspace through a symlink
Product: Language Servers for AWS (aws/language-servers) | Affected: Language Servers for AWS <1.69.0; npm @aws/lsp-codewhisperer < 0.0.117 | Fixed in: 1.69.0 (npm @aws/lsp-codewhisperer 0.0.117)
Summary: Language Servers for AWS does not check symbolic links (symlinks, shortcuts that point to another file) before writing files.
Source & remediation on AgentArmorHQ: https://agentarmorhq.com/incidents/2026/09/cve-2026-12958-language-servers-for-aws-aws-language-servers
Was this page useful?

Corrections

Report an error or request a correction. We review requests within 5 business days and add a dated correction note.

10 to 2,000 characters. A link to a source helps. Stored as plain text.

Discussions for CVE-2026-12958

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Check before you install

Paste a package name or a GitHub link and get a clear answer in seconds: Block, Review or No known issues. No account needed.

Check a package

Questions? Contact us