Origin Validation Error Affecting semgrep package, versions <1.173.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.23% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-SEMGREP-18760825
  • published14 Aug 2026
  • disclosed15 Jul 2026

Introduced: 15 Jul 2026

CVE-2026-59950  (opens in a new tab)
CWE-346  (opens in a new tab)
CWE-1385  (opens in a new tab)

How to fix?

Upgrade Minimos:latest semgrep to version 1.173.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream semgrep package and not the semgrep package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to 1.28.1, the deprecated mcp.server.websocket.websocket_server transport accepted WebSocket handshakes without applying Host or Origin header validation, leaving no SDK-level way to restrict which origins could connect to applications that exposed that transport. This issue is fixed in version 1.28.1.