Skip to content

bug: active exec sessions remain usable after logout #6024

@aaradhychinche-alt

Description

@aaradhychinche-alt

User Request

Type: bug
Target: Console Application
Submitted by: @aaradhychinche-alt
Console Request ID: ae9b8381-e656-47d5-8d37-58f99a4b99ac

Description

What happened:
After logging out, existing WebSocket exec sessions remain active and continue to accept commands.

What I expected:
Logout should invalidate all active sessions, including WebSocket connections.

Steps to reproduce:

  1. Open a WebSocket exec session (/ws/exec).
  2. Start an interactive shell.
  3. In another tab, call POST /auth/logout.
  4. Continue using the existing exec session.
  5. Observe that commands still execute.

Relevant area:
Auth + WebSocket exec lifecycle

Suggested improvement:
Ensure logout triggers termination of all active exec sessions.

Impact:
High. Users retain privileged access even after logout, breaking session security guarantees.


This issue was automatically created from the KubeStellar Console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions