CVE-2026-137933
Amazon Q code review interpolated attacker-controlled paths into shell commands
AWS · Amazon Q Developer IDE language servers
First documented disclosure · Review checkpoint
Summary
Untrusted workspace content could influence the agent into a code-review path that executed unintended shell commands.
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.
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
File paths used during code review were interpolated into shell-parsed commands rather than passed as literal arguments.
Conditions required
The attacker influences workspace content or paths processed by Amazon Q in VS Code or JetBrains. The bulletin excludes Eclipse and Visual Studio from this issue.
Potential impact
Commands could run with the developer process authority; a specific explicit user request for code review was not required by the advisory scenario.
Affected versions and configurations
language-servers before 1.81.0; @aws/lsp-codewhisperer 0.0.65 before 0.0.130.
Fix and mitigation status
Runtime 1.81.0 / @aws/lsp-codewhisperer 0.0.130. PR2910 uses literal subprocess arguments and validates artifact paths.
Practical next steps
Update the runtime, inspect untrusted workspaces before agent use and review credentials if unauthorized commands are suspected.
Operating lesson
Agent-selected tools must treat repository paths as data even when a model chooses the operation.
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. The public PR2910 was opened October 8; an earlier commit author date alone is not used as public disclosure. The displayed CVSS 4.0 8.5 is the AMZN CNA assessment.
Sources
- AMZN CVE authority record
Primary source ·
- AWS five-issue security bulletin
Primary source ·
- Issue-specific maintainer advisory
Primary source ·
- Earlier public corrective PR
Primary source ·
- Referenced runtime release
Primary source ·