CVE-2026-32112Homeassistant-ai Home Assistant Mcp Server
Medium 4.7 No auth needed
Follow: this CVE · Homeassistant-ai · Homeassistant-ai Home Assistant Mcp Server We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 4.7
- EPSS
- —
- Auth required
- No
- Published
- Mar 11, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
ha-mcp is a Home Assistant MCP Server. Prior to 7.0.0, the ha-mcp OAuth consent form renders user-controlled parameters via Python f-strings with no HTML escaping. An attacker who can reach the OAuth endpoint and convince the server operator to follow a crafted authorization URL could execute JavaScript in the operator's browser. This affects only users running the beta OAuth mode (ha-mcp-oauth), which is not part of the standard setup and requires explicit configuration. This vulnerability is fixed in 7.0.0.
What to do
- Apply the vendor's security update for Home Assistant Mcp Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ha-mcp |
< 7.0.0 |
7.0.0 |
pip install "ha-mcp>=7.0.0" |
| PyPI | ha-mcp |
< 7.0.0 |
7.0.0 |
pip install "ha-mcp>=7.0.0" |
Per OSV / GitHub Advisories (GHSA-pf93-j98v-25pv, PYSEC-2026-2508). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| homeassistant-ai | home_assistant_mcp_server | < 7.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory