Skip to content

[GHSA-g7v6-hfx3-8rv6] - mcp-server-fetch: robots.txt check misses backslash and path-parameter spellings (incomplete fix for GHSA-3rxj-6jhw-qfv7) #5670

Done

Description

@cliffhall

Advisory: GHSA-g7v6-hfx3-8rv6

Server: mcp-server-fetch · Severity: low (verified) · Milestone: v2.6.0

Problem

The robots.txt check resolves encoded dots and slashes, but not backslashes, %5c or ; path parameters. On origins that treat a backslash as a separator (IIS) or drop ; parameters (servlet containers), such a spelling reached a path robots.txt disallows.

Fix

Also check the path as an origin with backslash separators would resolve it, and as one that drops path parameters would, refusing the fetch if any spelling is disallowed.

The fix is in the linked pull request. Reproduction details stay in the advisory until it is published.

Activity

  1. added
    bug
    server-fetch
    on Nov 27, 2026
  2. self-assigned this
    on Nov 27, 2026
  3. added this to the v2.6.0 milestone on Nov 27, 2026
  4. changed the title [-][GHSA-g7v6-hfx3-8rv6][/-] [+][GHSA-g7v6-hfx3-8rv6] - mcp-server-fetch: robots.txt check misses backslash and path-parameter spellings (incomplete fix for GHSA-3rxj-6jhw-qfv7)[/+] on Nov 27, 2026
  5. cliffhall commented on Nov 27, 2026

    @cliffhall
    MemberAuthor

    Fixed by #5678.

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

Metadata

Metadata

Assignees

Labels

bugserver-fetchv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions