Server-side Request Forgery (SSRF) Affecting ha-mcp package, versions [,7.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th 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 Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-HAMCP-15627229
  • published15 Mar 2026
  • disclosed12 Mar 2026
  • credityotampe-pluto

Introduced: 12 Mar 2026

CVE-2026-32111  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade ha-mcp to version 7.0.0 or higher.

Overview

ha-mcp is a Home Assistant MCP Server - Complete control of Home Assistant through MCP

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the ha_url parameter in the OAuth consent form and forged tokens in REST and WebSocket tool calls. An attacker can enumerate internal network hosts and open ports by submitting crafted URLs and analyzing distinct error messages returned by the server. This is only exploitable if the OAuth 2.1 DCR mode is enabled and the beta OAuth consent feature is used.

CVSS Base Scores

version 4.0
version 3.1