CVE-2026-137935

Incomplete fix for CVE-2026-12958: arbitrary file creation outside the workspace trust boundary in Language Servers for AWS

Published Dec 1, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
Improper link resolution in the workspace boundary check in Language Servers for AWS 1.69.0 through 1.73.0 might allow context-dependent threat actors to create files outside the workspace trust boundary without the expected approval prompt via a crafted symbolic link, whose target does not yet exist, in a workspace opened by a local user, due to an incomplete fix for CVE-2026-12958.



This issue was fixed in version 1.74.0 (npm package @aws/lsp-codewhisperer 0.0.123). To remediate this issue, users should upgrade to Language Servers for AWS 1.74.0 or later (npm @aws/lsp-codewhisperer 0.0.123 or later). Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.

Analysis

AI-generated

Technical impact

The vulnerability stems from improper link resolution in the workspace boundary check within Language Servers for AWS versions 1.69.0 through 1.73.0. It allows a context‑dependent threat actor to create files outside the workspace trust boundary without the expected approval prompt by using a crafted symbolic link whose target does not yet exist. The flaw is an instance of CWE‑61, leading to unauthorized file writes and potential persistence of malicious artifacts, which can affect confidentiality, integrity, and availability of the system.

Affected Systems

Affected vendors include AWS, with product names aws/lsp-codewhisperer and language‑servers. The vulnerability is present in releases from 1.69.0 up to 1.73.0. The issue was addressed in version 1.74.0 (npm package @aws/lsp-codewhisperer 0.0.123). Users running earlier versions are at risk.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity, and the EPSS score being less than 1% suggests a very low probability of exploit at the current time. The flaw is not listed in the CISA KEV catalog. Attackers can exploit the bug in a context where a local user opens a workspace and supplies a malicious symbolic link; if the link target does not exist, the resolver may create it, thereby writing files outside the trusted area. This scenario requires local user interaction to set up the symlink, but once a malicious workspace is used, the unauthorized file creation can proceed automatically.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Language Servers for AWS 1.74.0 or later (npm @aws/lsp-codewhisperer 0.0.123 or newer).
  • For users of the Amazon Q Developer IDE plugin, restart the IDE after the update to load the latest language server.
  • Ensure that workspace trust boundaries are correctly configured and avoid placing symbolic links that target non‑existent files within workspaces.

Generated by OpenCVE AI on December 3, 2026 at 17:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper link resolution in the workspace boundary check in Language Servers for AWS 1.69.0 through 1.73.0 might allow context-dependent threat actors to create files outside the workspace trust boundary without the expected approval prompt via a crafted symbolic link, whose target does not yet exist, in a workspace opened by a local user, due to an incomplete fix for CVE-2026-12958. This issue was fixed in version 1.74.0 (npm package @aws/lsp-codewhisperer 0.0.123). To remediate this issue, users should upgrade to Language Servers for AWS 1.74.0 or later (npm @aws/lsp-codewhisperer 0.0.123 or later). Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.
Title Incomplete fix for CVE-2026-12958: arbitrary file creation outside the workspace trust boundary in Language Servers for AWS
First Time appeared Aws
Aws aws Lsp-codewhisperer
Aws language-servers
Weaknesses CWE-61
CPEs cpe:2.3:a:aws:aws_lsp-codewhisperer:*:*:*:*:*:*:*:*
cpe:2.3:a:aws:language-servers:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws Lsp-codewhisperer
Aws language-servers
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_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'}

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Dec 2, 2026, 8:48 PM
Reserved
Nov 27, 2026, 1:29 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 8:18 PM
Modified
Dec 2, 2026, 9:18 PM