{
  "id": "cve-2025-58062-openmcp-client",
  "name": "CVE-2025-58062 openmcp-client open() RCE class",
  "date_reported": "2025-08-28",
  "researcher": "Industry CVE assignment",
  "org": "openmcp-client maintainers / NVD",
  "sources": [
    {
      "url": "https://www.pillar.security/blog/open-and-shut-remote-code-execution-in-opencode-via-mcp-oauth"
    }
  ],
  "magicsword_coverage": [],
  "borderline": false,
  "borderline_note": null,
  "ai_role": "ai_agent_or_mcp_as_target",
  "ai_role_secondary": null,
  "ai_role_detail": null,
  "technique_summary": "Same open() PowerShell sink class as mcp-remote/opencode: MCP OAuth authorization URL handled unsafely on Windows leading to command injection. Documented in Pillar's comparative analysis of the vulnerability class.",
  "initial_access": "unknown",
  "ai_tooling_and_models": [
    "openmcp-client",
    "MCP OAuth"
  ],
  "other_tooling": [],
  "victims_and_sectors": "unknown",
  "regions": [
    "unknown"
  ],
  "attribution_or_cluster": "unknown",
  "scale_and_metrics": "unknown",
  "prevention_angle": "Upgrade clients; never shell-interpolate remote OAuth URLs",
  "related_magicsword_projects": [],
  "source_notes": null,
  "last_reviewed": "2026-10-20",
  "attack_flow": {
    "nodes": [
      {
        "id": "step-1",
        "title": "Full delivery chain is undisclosed",
        "description": "The seed does not specify every connection prerequisite.",
        "kind": "unknown",
        "source_urls": [
          "https://www.pillar.security/blog/open-and-shut-remote-code-execution-in-opencode-via-mcp-oauth"
        ]
      },
      {
        "id": "step-2",
        "title": "Client handles an MCP OAuth URL",
        "description": "The authorization URL is passed to the browser-opening helper.",
        "kind": "ai",
        "source_urls": [
          "https://www.pillar.security/blog/open-and-shut-remote-code-execution-in-opencode-via-mcp-oauth"
        ]
      },
      {
        "id": "step-3",
        "title": "Windows shell interprets the URL",
        "description": "Unsafe open() handling exposes a PowerShell command-injection sink.",
        "kind": "execution",
        "source_urls": [
          "https://www.pillar.security/blog/open-and-shut-remote-code-execution-in-opencode-via-mcp-oauth"
        ]
      },
      {
        "id": "step-4",
        "title": "Commands execute on the client",
        "description": "The report groups openmcp-client with the same OAuth URL execution class.",
        "kind": "impact",
        "source_urls": [
          "https://www.pillar.security/blog/open-and-shut-remote-code-execution-in-opencode-via-mcp-oauth"
        ]
      }
    ],
    "edges": [
      {
        "source": "step-1",
        "target": "step-2"
      },
      {
        "source": "step-2",
        "target": "step-3"
      },
      {
        "source": "step-3",
        "target": "step-4"
      }
    ]
  },
  "category": "attacks-on-ai",
  "ai_involvement_confidence": "confirmed",
  "detections": [
    {
      "name": "Review attack-specific indicators",
      "format": "guidance",
      "notes": "Monitor for the techniques described in CVE-2025-58062 openmcp-client open() RCE class. Refer to sources for specific IOCs and TTPs."
    }
  ]
}