{"id":"CVE-2026-12957","published":"2026-06-23T16:02:53Z","modified":"2026-06-23T17:50:18Z","title":"Arbitrary Code Execution in Language Servers for AWS","vendor":"Amazon Web Services","product":"Language Servers for AWS","tier":"tail","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.\n\n\n\nTo remediate this issue, users should upgrade to Language Servers for AWS version 1.65.0 or higher.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14533,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/2026-047-aws/","tags":["vendor-advisory"]},{"url":"https://github.com/aws/language-servers/security/advisories/GHSA-xhcr-j4j9-3gh7","tags":["third-party-advisory"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.91},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"amazon-web-services","affectedVersions":[{"vendor":"Amazon Web Services","product":"Language Servers for AWS","versions":["< 1.65.0"]}],"capec":[{"id":"CAPEC-549","name":"Local Execution of Code"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-23T17:48:30.691572Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@aws/lsp-codewhisperer","vulnerableRanges":["<0.0.113"],"patched":["0.0.113"],"from":["GHSA-xhcr-j4j9-3gh7"],"provenance":"source"}],"summary":{"text":"Language Servers for AWS from Amazon Web Services contains an improper trust boundary enforcement flaw that can lead to arbitrary code execution. An attacker who can get a local user to open a maliciously crafted workspace can have commands in its project configuration files run automatically, provided the user accepts the trust prompt for that workspace.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:12Z"},"euvd":{"id":"EUVD-2026-38488","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-12957","published":"2026-06-23","fixed":"0.0.113","kev":false},{"cve":"CVE-2026-12958","published":"2026-06-23","fixed":"0.0.117","kev":false,"link":{"from":"CVE-2026-12957","to":"CVE-2026-12958","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@aws/lsp-codewhisperer","fromFixed":"0.0.113","toFixed":"0.0.117","daysApart":0},{"kind":"similar","provenance":"machine","score":0.66,"basis":"same product + description similarity"}]}}],"package":"npm:@aws/lsp-codewhisperer"}}