# CVE-2025-25305: SSL validation for outgoing requests in Home Assistant Core and used libs not correct

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-02-18T18:53:10.870Z
- Modified: 2026-07-07T17:57:29.673Z
- Also known as: GHSA-m3pm-rpgg-5wj6, PYSEC-2026-1452
- Weaknesses: CWE-347, CWE-940
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Home Assistant Core is an open source home automation that puts local control and privacy first. Affected versions are subject to a potential man-in-the-middle attacks due to missing SSL certificate verification in the project codebase and used third-party libraries. In the past, `aiohttp-session`/`request` had the parameter `verify_ssl` to control SSL certificate verification. This was a boolean value. In `aiohttp` 3.0, this parameter was deprecated in favor of the `ssl` parameter. Only when `ssl` is set to `None` or provided with a correct configured SSL context the standard SSL certificate verification will happen. When migrating integrations in Home Assistant and libraries used by Home Assistant, in some cases the `verify_ssl` parameter value was just moved to the new `ssl` parameter. This resulted in these integrations and 3rd party libraries using `request.ssl = True`, which unintentionally turned off SSL certificate verification and opened up a man-in-the-middle attack vector. This issue has been addressed in version 2024.1.6 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- home-assistant core: < 2024.1.6
- homeassistant (PyPI): before 2024.1.6

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/home-assistant/core/security/advisories/GHSA-m3pm-rpgg-5wj6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25305> (advisory)
- <https://github.com/home-assistant/core/commit/8c6547f1b64f4a3d9f10090b97383353c9367892> (web)
- <https://github.com/home-assistant/core> (package)
- <https://pypi.org/project/homeassistant> (package)
- <https://github.com/advisories/GHSA-m3pm-rpgg-5wj6> (advisory)

## Sources

- CVE List: [CVE-2025-25305](https://www.cve.org/CVERecord?id=CVE-2025-25305), CVE Terms of Use, modified 2025-02-18
- GitHub Advisory Database: [GHSA-m3pm-rpgg-5wj6](https://github.com/advisories/GHSA-m3pm-rpgg-5wj6), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-25305](https://nvd.nist.gov/vuln/detail/CVE-2025-25305), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1452](https://osv.dev/vulnerability/PYSEC-2026-1452), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-25305 · Whole record: https://cve.day/CVE-2025-25305.json · Rebuilt by cve.day 2026-11-25T22:58:54.158Z
