# CVE-2026-12957: Arbitrary Code Execution in Language Servers for AWS

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-23 · Modified: 2026-06-23
- Aliases: GHSA-xhcr-j4j9-3gh7
- Record: https://cvemate.com/vulnerability/CVE-2026-12957 · JSON: https://cvemate.com/vulnerability/CVE-2026-12957/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.234%, percentile 15.225%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon web services language servers for aws: \< 1.65.0
- @aws lsp-codewhisperer (Npm): \< 0.0.113

## References

- <https://aws.amazon.com/security/security-bulletins/2026-047-aws/>
- <https://github.com/aws/language-servers/security/advisories/GHSA-xhcr-j4j9-3gh7>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12957>
- <https://github.com/Amazon-Q-Developer/language-servers/pull/2708>
- <https://github.com/Amazon-Q-Developer/language-servers/pull/2711>
- <https://github.com/Amazon-Q-Developer/language-servers/commit/7b8595a4e638562f79d5f71dcf22b0c700490458>
- <https://github.com/Amazon-Q-Developer/language-servers/commit/f5aa1a3b25aa38bfe8dd0e830b5839e1cea1d410>
- <https://aws.amazon.com/security/security-bulletins/2026-047-aws>
- <https://github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.65.0>
- <https://github.com/aws/language-servers>

---

Data as of 2026-12-05T08:24:15.363Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
