CVE-2025-25305
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHome 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn the migration from aiohttp-session to aiohttp 3.0, the boolean `verify_ssl` parameter was incorrectly moved to the new `ssl` parameter. Setting `ssl=True` in aiohttp 3.0 actually disables SSL certificate verification instead of enabling it, creating a man-in-the-middle vulnerability in affected Home Assistant integrations and third-party libraries.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify aiohttp version in useRun pip show aiohttp or check requirements files for aiohttp>=3.0.0Affected if aiohttp version 3.0.0 or higher is installed
-
Search for ssl=True in codeGrep recursively for 'ssl=True' or 'ssl = True' in application source code, particularly in files that create aiohttp ClientSession objectsAffected if Code contains ssl=True passed to aiohttp ClientSession or related methods
-
Check for verify_ssl parameter usageSearch for 'verify_ssl' parameter in aiohttp client code - the vulnerable pattern incorrectly moved this to 'ssl'Affected if Code shows evidence of migrating from verify_ssl to ssl parameter without proper SSL context handling
-
Inspect aiohttp client session creationReview all locations where aiohttp.ClientSession is instantiated, looking for SSL-related keyword argumentsAffected if ClientSession is created with ssl parameter set to boolean True rather than an SSLContext object or properly configured context
-
Review integration configurationsFor Home Assistant, examine custom integrations or third-party components that make external HTTP requestsAffected if Custom or third-party integrations use aiohttp with the vulnerable ssl=True pattern
A system is affected if it runs aiohttp 3.0+ and contains code where ssl=True is passed to aiohttp ClientSession, inadvertently disabling SSL certificate verification.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Home Assistant Core version 2024.1.6 or later to receive the patch for this vulnerability.
2024.1.6
- Backup your Home Assistant configuration and data before upgrading
- Update Home Assistant Core to version 2024.1.6 or later
- After upgrading, verify that integrations using network connections are functioning correctly
- Check Home Assistant logs for any SSL-related errors after the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-25305 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-25305 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data