Disclosed weakness · no CVE recorded
Claude Code VS Code sessions could start in a stale permission mode
Anthropic · Claude Code VS Code extension sessions
First documented disclosure · Review checkpoint
Summary
A new VS Code session could start with an earlier permission mode after the user selected another mode elsewhere.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: The reviewed public original establishes a reported correction or controlled source-level comparison, not malicious exploitation or identified victims. No product, model, exploit or 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 new-session initialization did not consistently use a permission-mode choice made in another tab or window, or while Claude Code was not running.
Conditions required
The permission mode changes in another tab or window, or while Claude Code is stopped, and a new VS Code session starts. Weaker enforcement additionally requires that the earlier mode permits more than the newly selected mode.
Potential impact
A session can use a policy different from the user’s current choice, potentially retaining broader permissions. The notes do not establish a specific tool execution, approval bypass under every mode or malicious exploitation.
Affected versions and configurations
The release describes the affected VS Code session initialization behavior without a complete affected-version range.
Fix and mitigation status
2.1.335 stable, published December 3.
Practical next steps
Update and confirm the active permission mode when starting a session, particularly after changing it in another window.
Operating lesson
A new session must apply the user’s current permission policy rather than stale state.
Evidence and limits
The full maintainer release notes explicitly describe the corrected behavior. No implementation-level or runtime reproduction was performed; no CVE or numeric severity is assigned. Exact introduction and complete affected-version bounds are not disclosed.
Sources
- Claude Code 2.1.335 VS Code correction
Primary source ·