Vulnerability · Published Mar 11, 2026 · Assigned by GitHub_M

CVE-2026-32111ha-mcp OAuth 2.1 DCR mode enables network reconnaissance via an error oracle

Medium 5.3

In plain English

A medium-severity server-side request forgery in ha-mcp from homeassistant-ai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 74.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

ha-mcp is a Home Assistant MCP Server. Prior to 7.0.0, the ha-mcp OAuth consent form (beta feature) accepts a user-supplied ha_url and makes a server-side HTTP request to {ha_url}/api/config with no URL validation. An unauthenticated attacker can submit arbitrary URLs to perform internal network reconnaissance via an error oracle. Two additional code paths in OAuth tool calls (REST and WebSocket) are affected by the same primitive. The primary deployment method (private URL with pre-configured HOMEASSISTANT_TOKEN) is not affected. This vulnerability is fixed in 7.0.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIha-mcp7.0.0GHSA-fmfg-9g7c-3vq7
PyPIha-mcp7.0.0PYSEC-2026-2507

Affected products (as reported)

VendorProductVersions
homeassistant-ai ha-mcp < 7.0.0

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References