CVE-2026-12958: @aws/lsp codewhisperer Language Servers For AWS Vulnerable Vulnerability
HIGHCVE-2026-12958 is a HIGH (CVSS 7.8) language servers for aws vulnerable vulnerability (CWE-61: UNIX Symbolic Link (Symlink) Following) affecting @aws/lsp codewhisperer libraries in the npm ecosystem. The issue involves language servers for aws vulnerable to arbitrary file write. Remediation is available by upgrading affected packages to version 0.0.117.
CVE-2026-12958 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-12958
To remediate this vulnerability, upgrade all affected @aws/lsp codewhisperer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @aws/lsp-codewhisperer@0.0.117
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @aws/lsp-codewhisperer
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-12958, inspect your project dependencies using npm:
npm ls @aws/lsp-codewhisperer
Analyze the terminal output to locate any version of @aws/lsp codewhisperer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.117), your application is affected.
Note: The npm ls @aws/lsp-codewhisperer command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-61: UNIX Symbolic Link (Symlink) Following, where the product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. this could allow an attacker to cause the product to operate on unauthorized files. In @aws/lsp codewhisperer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-12958 Affected @aws/lsp codewhisperer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@aws/lsp-codewhisperer
|
npm |
< 0.0.117
|
0.0.117
|
References
Frequently Asked Questions
What is CVE-2026-12958?
Which @aws/lsp codewhisperer versions are affected?
What version fixes CVE-2026-12958?
Is @aws/lsp-codewhisperer affected?
What is the CVSS score of CVE-2026-12958?
What CWE is associated with CVE-2026-12958?
How can I check npm dependencies for CVE-2026-12958?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6v3r-4p5c-mrp5",
"modified" : "2026-09-24T19:15:40Z",
"published" : "2026-09-24T19:15:39Z",
"aliases" : [ "CVE-2026-12958" ],
"summary" : "Language Servers for AWS vulnerable to arbitrary file write",
"details" : "## 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@aws/lsp-codewhisperer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.117"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/aws/language-servers/security/advisories/GHSA-6v3r-4p5c-mrp5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-12958"
}, {
"type" : "WEB",
"url" : "https://github.com/Amazon-Q-Developer/language-servers/pull/2742"
}, {
"type" : "WEB",
"url" : "https://github.com/Amazon-Q-Developer/language-servers/commit/6c279b083cc192aa5df1f38c2c185576fd5234f5"
}, {
"type" : "WEB",
"url" : "https://aws.amazon.com/security/security-bulletins/2026-047-aws"
}, {
"type" : "WEB",
"url" : "https://github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.69.0"
}, {
"type" : "WEB",
"url" : "https://github.com/Amazon-Q-Developer/language-servers/releases/tag/lsp-codewhisperer/v0.0.117"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aws/language-servers"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-61" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-24T19:15:39Z",
"nvd_published_at" : "2026-06-23T17:16:41Z"
}
}