{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-12957","id":"CVE-2026-12957","title":"Arbitrary Code Execution in Language Servers for AWS","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.\n\n\n\nTo remediate this issue, users should","descriptionLong":"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.","published":"2026-06-23T16:02:53.516Z","updated":"2026-10-28T02:30:22.519428822Z","reserved":"2026-06-23T01:55:35.714Z","status":"Awaiting Analysis","rejected":false,"assigner":"AMZN","metric":{"version":"4.0","score":8.5,"vector":"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","rating":"high","source":"AMZN"},"metrics":[{"version":"4.0","score":8.5,"vector":"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","rating":"high","source":"AMZN"},{"version":"4.0","score":8.5,"vector":"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","rating":"high","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"AMZN"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"}],"rating":"high","products":["Amazon Web Services Language Servers for AWS"],"affectedProducts":[{"vendor":"Amazon Web Services","product":"Language Servers for AWS","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"1.65.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@aws/lsp-codewhisperer","purl":"pkg:npm/%40aws/lsp-codewhisperer","ranges":["<0.0.113"],"fixed":["0.0.113"],"advisory":"GHSA-xhcr-j4j9-3gh7"}],"cwes":["CWE-732"],"aliases":["GHSA-xhcr-j4j9-3gh7"],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/2026-047-aws/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/aws/language-servers/security/advisories/GHSA-xhcr-j4j9-3gh7","tags":["third-party-advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12957.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12957","tags":["advisory"]},{"url":"https://github.com/Amazon-Q-Developer/language-servers/pull/2708","tags":["web"]},{"url":"https://github.com/Amazon-Q-Developer/language-servers/pull/2711","tags":["web"]},{"url":"https://github.com/Amazon-Q-Developer/language-servers/commit/7b8595a4e638562f79d5f71dcf22b0c700490458","tags":["web"]},{"url":"https://github.com/Amazon-Q-Developer/language-servers/commit/f5aa1a3b25aa38bfe8dd0e830b5839e1cea1d410","tags":["web"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-047-aws","tags":["web"]},{"url":"https://github.com/Amazon-Q-Developer/language-servers/releases/tag/agentic-rc-1.65.0","tags":["web"]},{"url":"https://github.com/aws/language-servers","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00234,"epssPercentile":0.14419,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-12957","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12957","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-12957","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xhcr-j4j9-3gh7","ok":true,"note":"GHSA-xhcr-j4j9-3gh7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-12957","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}