CVE-2026-12957
HIGH 8.5CVSS 4.0Language Servers for AWS Vulnerable to Arbitrary Code Execution
Improper trust boundary enforcement in Language Servers for AWS before version 1.65.0 on all supported platforms may allow a for arbitrary code execution. If a local user opens a maliciously crafted workspace, any commands within the project configuration files may be automatically executed. This issue requires the user to trust the workspace when prompted.
To remediate this issue, users should upgrade to Language Servers for AWS version 1.65.0 or higher.
- Published
- 23 Jun 2026
- Last modified
- 26 Oct 2026
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- NVD status
- Awaiting Analysis
- Weakness
- CWE-732
- Also known as
- GHSA-xhcr-j4j9-3gh7
- Sources
- NVDJSONOSV GHSA-xhcr-j4j9-3gh7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 4.0 | HIGH 8.5 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @aws/lsp-codewhisperer | < 0.0.113 | 0.0.113 |
References
- https://aws.amazon.com/security/security-bulletins/2026-047-aws/ · WEB
- https://github.com/aws/language-servers/security/advisories/GHSA-xhcr-j4j9-3gh7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-12957 · ADVISORY
- https://github.com/Amazon-Q-Developer/language-servers/pull/2708 · WEB
- https://github.com/Amazon-Q-Developer/language-servers/pull/2711 · WEB
- https://github.com/Amazon-Q-Developer/language-servers/commit/7b8595a4e638562f79d5f71dcf22b0c700490458 · WEB
- https://github.com/Amazon-Q-Developer/language-servers/commit/f5aa1a3b25aa38bfe8dd0e830b5839e1cea1d410 · WEB
- https://github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.65.0 · WEB
- https://github.com/aws/language-servers · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2026)