# homeassistant-ai ha-mcp missing authentication in settings routes

Source: https://junglewise.ai/threats/homeassistant-ai-ha-mcp-missing-authentication-in-settings-routes-7bec1052  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07. Updated: 2026-07-08  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 6.5 · Published 2026-07-07

A vulnerability in the ha-mcp Home Assistant add-on allows unauthorized access to its settings and configuration interface. An attacker on the same network could change tool visibility, delete backups, or restart the add-on without needing a password. This does not grant access to sensitive Home Assistant credentials or private data, but it can disrupt the add-on's operation.

Technologies: [ha-mcp (PyPI)](https://junglewise.ai/threats/technologies/ha-mcp). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 6.5, published 7 July 2026.

**Which products and versions are affected?** ha-mcp (PyPI) < 7.10.0.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is This vulnerability attacked?** It is attacked over the network, in a network appliance.

**Am I affected?** Check whether you run ha-mcp (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The ha-mcp add-on (v7.6.0 and earlier) incorrectly mounts its settings UI routes at the bare root of port 9583 without authentication, CSRF protection, or origin checks. This allows any network-reachable client to invoke sensitive API endpoints such as /api/settings/tools, /api/settings/backups, and /api/settings/restart. While the core MCP endpoint remains protected by a secret path, the exposed routes allow for unauthorized configuration changes, backup deletion, and service restarts. The vulnerability is specific to Home Assistant add-on installations with host networking enabled and port 9583 published. A fix was introduced in version 7.10.0 by restricting root-mounted routes to the Home Assistant Supervisor IP.

## Affected products

- homeassistant-ai ha-mcp < 7.10.0

## Timeline

- 2026-05-31: disclosed
- 2026-07-07: advisory

## References

- [https://api.github.com/users/bharat](https://api.github.com/users/bharat)
- [https://github.com/bharat](https://github.com/bharat)
- [https://api.github.com/users/bharat/gists%7B/gist_id%7D](https://api.github.com/users/bharat/gists%7B/gist_id%7D)
- [https://api.github.com/users/bharat/repos](https://api.github.com/users/bharat/repos)
- [https://avatars.githubusercontent.com/u/54570?v=4](https://avatars.githubusercontent.com/u/54570?v=4)
- [https://api.github.com/users/bharat/events%7B/privacy%7D](https://api.github.com/users/bharat/events%7B/privacy%7D)

## Related threats

- [PYSEC-2026-2508 - ha-mcp has XSS via Unescaped HTML in OAuth Consent Form](https://junglewise.ai/threats/cve-2026-32112-ha-mcp-has-xss-via-unescaped-html-in-oauth-consent-form)
- [PYSEC-2026-2507 - ha-mcp OAuth 2.1 DCR mode enables network reconnaissance via an error oracle](https://junglewise.ai/threats/cve-2026-32111-ha-mcp-oauth-2-1-dcr-mode-enables-network-reconnaissance-via-an)
- [Home Assistant MCP Server unauthenticated access to YAML backups](https://junglewise.ai/threats/home-assistant-mcp-server-unauthenticated-access-to-yaml-backups-d620653e)
