You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Session Isolation Failure - Information Leaking Between Multiple Claude Code Sessions #1985
Information from one Claude Code session is leaking into another unrelated session, compromising session isolation. File paths and context from one project appear in a completely separate session working on an unrelated project.
Steps to Reproduce
Start multiple Claude Code sessions simultaneously on different projects
Work on completely unrelated projects in each session (e.g., one session on "NexaNest" project, another on "sourdough" documentation)
Continue normal development work in each isolated session
Observe that file paths/information from one session (e.g., /repos/NexaNest/.env.swarm) appears in another session's context without any deliberate cross-referencing
Expected Behavior
Each Claude Code session should be completely isolated with no cross-contamination of information between sessions. Sessions should have no knowledge of files, paths, or context from other concurrent sessions.
Actual Behavior
File path /repos/NexaNest/.env.swarm from one session (NexaNest project) appeared in the context of a completely separate session working on a sourdough documentation project in /repos/sourdough. Claude mentioned this file without it being relevant to the current session.
Additional Context
This is a critical security and privacy issue as it breaks session isolation
Potentially exposes sensitive information (like environment files) across different projects/sessions
Users working on multiple projects simultaneously are at risk
The leak occurred when Claude mentioned seeing a file from the other session during normal conversation
No deliberate cross-referencing was made between sessions
Both sessions were running concurrently on the same machine
This violates the fundamental expectation that each session is isolated
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
ESRogs commentedon Jun 12, 2025
Were the sessions running in the terminal within VS Code? If so, was it in the same VS Code window, or separate windows?
I wonder if Claude Code has access to all open VS Code windows, but maybe should just have access to the window it's in.
(I don't work for Anthropic. Just another Claude Code user who's curious about this.)
git-kubik commentedon Jun 16, 2025
mutiple terminals within the one vscode instance
github-actions commentedon Oct 10, 2025
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
github-actions commentedon Dec 10, 2025
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
github-actions commentedon Dec 18, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.