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
- Upgrade to the fixed version: run
npm install @aws/lsp-codewhisperer@0.0.117(first patched version 0.0.117). [1] - Upgrade Language Servers for AWS to version 1.69.0 or later. [1]
- Upgrade the npm package @aws/lsp-codewhisperer to 0.0.117 or later. [1]
- 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.
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
What was done
Sources
- 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.
[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-serversCorrections
Report an error or request a correction. We review requests within 5 business days and add a dated correction note.
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.