CVE-2026-137931
Amazon Q registry MCP approval omitted effective environment and headers
AWS · Amazon Q Developer IDE language servers
First documented disclosure · Review checkpoint
Summary
A previously approved registry MCP server could run with changed environment variables or HTTP headers without renewed consent.
Severity and exploitation evidence
High · 7.3/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
The approval fingerprint omitted fields after registry configuration resolution, leaving effective environment and header changes outside the stored consent identity.
Conditions required
A previously approved workspace npm or PyPI registry-mode MCP server and attacker influence over its configuration. Direct program and container configurations are outside this particular flaw.
Potential impact
A changed MCP execution environment or credential-bearing request configuration could be activated under stale approval.
Affected versions and configurations
language-servers 1.65.0 before 1.78.0; @aws/lsp-codewhisperer 0.0.113 before 0.0.127.
Fix and mitigation status
Runtime 1.78.0 / @aws/lsp-codewhisperer 0.0.127. PR2853 fingerprints effective environment and headers and invalidates older stored approvals.
Practical next steps
Restart the IDE with network access to receive the current compatible runtime, or update pinned deployments; review and renew MCP consent for the actual effective configuration.
Operating lesson
Consent must bind to the complete configuration that will execute.
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. PR2853 opened and merged August 24. The environment/header omission is distinct from the workspace/fingerprint logical-OR issue in CVE-2026-137932. The displayed CVSS 4.0 7.3 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 ·