{"id":"CVE-2026-12958","aliases":["GHSA-6v3r-4p5c-mrp5"],"title":"Language Servers for AWS vulnerable to arbitrary file write","summary":"Language Servers for AWS vulnerable to arbitrary file write","severity":"high","cvss":7.8,"cwe":["CWE-61"],"vendor":"aws","product":"@aws/lsp-codewhisperer","ecosystem":"npm","affected":["@aws/lsp-codewhisperer < 0.0.117"],"patched":["@aws/lsp-codewhisperer 0.0.117"],"published":"2026-09-24","updated":"2026-09-24","sourceUpdated":"2026-09-24T19:15:40Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-6v3r-4p5c-mrp5","references":[{"url":"https://github.com/aws/language-servers/security/advisories/GHSA-6v3r-4p5c-mrp5"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12958"},{"url":"https://github.com/Amazon-Q-Developer/language-servers/pull/2742"},{"url":"https://github.com/Amazon-Q-Developer/language-servers/commit/6c279b083cc192aa5df1f38c2c185576fd5234f5"},{"url":"https://aws.amazon.com/security/security-bulletins/2026-047-aws"},{"url":"https://github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.69.0"},{"url":"https://github.com/Amazon-Q-Developer/language-servers/releases/tag/lsp-codewhisperer/v0.0.117"},{"url":"https://github.com/advisories/GHSA-6v3r-4p5c-mrp5"}],"tags":["ghsa","npm"],"epss":0.00191,"epssPercentile":0.07752,"ingestedAt":"2026-09-24T19:50:30.722Z","slug":"CVE-2026-12958","body":"## Overview\n\n## Summary\nLanguage 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.\n\nMissing 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.\n\n## Impact\n\nIf 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.\n\nThis issue is triggered when a user opens a workspace, trusts it, and the agent subsequently writes to a path within that workspace.\n\nImpacted versions: Language Servers for AWS version <1.69.0.\n\n## Patches\nThis 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. \n\n## Workarounds\nNo workarounds are available.\n\n## References\nIf you have any questions or comments about this advisory, AWS Security ask that you contact them via their [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n## Acknowledgement \n\nAWS Security would like to thank Wiz and Maor Dokhanian for collaborating on this issue through the coordinated vulnerability disclosure process.\n\n## Affected packages\n\n- `@aws/lsp-codewhisperer < 0.0.117`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `@aws/lsp-codewhisperer 0.0.117`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}