CVE-2026-137935

Amazon Q dangling symlink could bypass new-file write approval

AWS · Amazon Q Developer IDE language servers

First documented disclosure · Review checkpoint

Summary

A dangling workspace symlink could redirect creation of a new file outside the workspace without expected approval.

Severity and exploitation evidence

High · 8.5/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed public originals establish a vulnerability or controlled demonstration, not malicious exploitation against users. No exploit, package, model or external proof of concept was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The write-path check failed to resolve a symlink whose leaf destination did not yet exist, even when its parent directory existed and was writable.

Conditions required

The attacker controls a workspace symlink and influences an agent file write; the external destination parent must be writable.

Potential impact

Creation of a new file outside the approved workspace. The issue is not described as silently overwriting arbitrary existing files.

Affected versions and configurations

language-servers 1.69.0 before 1.74.0; @aws/lsp-codewhisperer 0.0.117 before 0.0.123.

Fix and mitigation status

Runtime 1.74.0 / @aws/lsp-codewhisperer 0.0.123. PR2787 resolves the existing parent path for missing destination leaves.

Practical next steps

Update the runtime and inspect unexpected files and dangling links in untrusted workspaces.

Operating lesson

Path checks must cover both existing destinations and the real parent of a new file.

Evidence and limits

The AWS bulletin was published December 1. Earlier public corrective PRs establish the dates used here; November 12 GitHub release-object timestamps are not treated as the first disclosure. End-user IDE plugin versions do not directly identify the downloaded language-server runtime. PR2787 opened July 16 and merged July 23. The narrow new-file condition is preserved rather than generalized to all symlink writes. The displayed CVSS 4.0 8.5 is the AMZN CNA assessment.

Sources