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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ha-mcp | 7.0.0 | GHSA-fmfg-9g7c-3vq7 |
| PyPI | ha-mcp | 7.0.0 | PYSEC-2026-2507 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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