Skip to content

mcp_server session routing: unknown-session fallback executes server registry; ambiguity refusal bypassed #227

Closed

Description

@ajianaz

#73/#74, scan 0.7.0 MAJOR. When a session_id is supplied but the tool is absent server-side, execution falls through to the server-level registry (wrong jail — violates #137 isolation; same-named server tool executes instead of the session's). And the #138 ambiguity refusal only fires on missing session_id — a bogus session_id silently executes server-side. Fix: resolve session registry FIRST for non-session tools when session_id present; unresolvable id = error, never server fallback.

Triage

Label: blocker (scan 0.7.0 pre-tag gate). Scan found this MAJOR valid on triage; see the scan log context in the tole-dev uteke room.

Activity

  1. added
    enhancement
    on Oct 6, 2026
  2. ajianaz commented on Oct 7, 2026

    @ajianaz
    ContributorAuthor

    Closed by #237.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions