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

- Severity: High 8.5 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-06-23T16:02:53.516Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-xhcr-j4j9-3gh7
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: AMZN

## Description

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.

(As written by CVE List.)

## Affected

- Amazon Web Services Language Servers for AWS: before 1.65.0
- @aws/lsp-codewhisperer (npm): before 0.0.113

## Every score

- AMZN: CVSS:4.0 8.5 High `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`
- AMZN: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://aws.amazon.com/security/security-bulletins/2026-047-aws/> (vendor-advisory)
- <https://github.com/aws/language-servers/security/advisories/GHSA-xhcr-j4j9-3gh7> (third-party-advisory, 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://aws.amazon.com/security/security-bulletins/2026-047-aws> (web)
- <https://github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.65.0> (web)
- <https://github.com/aws/language-servers> (package)

## Sources

- CVE List: [CVE-2026-12957](https://www.cve.org/CVERecord?id=CVE-2026-12957), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-xhcr-j4j9-3gh7](https://github.com/advisories/GHSA-xhcr-j4j9-3gh7), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2026-12957](https://nvd.nist.gov/vuln/detail/CVE-2026-12957), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-12957 · Whole record: https://cve.day/CVE-2026-12957.json · Rebuilt by cve.day 2026-11-25T22:59:25.471Z
