CVE-2026-19553
Last modified
CVE-2026-19553 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped. This defect could lead to programs where certificate hostname verification *appeared* to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration. If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability. Mitigating this vulnerability doesn't require updating Python or applying the patch. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped. This defect could lead to programs where certificate hostname verification *appeared* to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration. If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability. Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap_socket(), when server_hostname isn't supplied.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | < 3.10.22; >= 3.11.0, < 3.11.17; >= 3.12.0, < 3.12.15; >= 3.13.0, < 3.13.16; >= 3.14.0, < 3.14.8; >= 3.15.0a1, < 3.15.0rc3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-19553?
How severe is CVE-2026-19553?
How do I fix CVE-2026-19553?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-19542Calling tdelete on a sufficiently deep tree in the GNU C Lib…5.6
- CVE-2026-19543IBM Common Licensing Agent 9.0, Agent 9.0.0.1, Agent 9.0.0.2…6.2
- CVE-2026-19546A flaw was found in DBI. This is a fix for a partial fix for…8.8
- CVE-2026-19547Ghostscript for Windows is vulnerable to local privilege esc…7
- CVE-2026-19548Multiple Use-After-Free vulnerabilities were found in the ad…5.5
- CVE-2026-19550A flaw was found in FreeIPA. The trust-fetch-domains command…8.2
- CVE-2026-19556Use after free in V8 in Google Chrome prior to 151.0.7922.13…8.8
- CVE-2026-19557Use after free in TabStrip in Google Chrome on Mac prior to …8.3
- CVE-2026-19558Use after free in Extensions in Google Chrome prior to 151.0…7.5
- CVE-2026-19559Use after free in HTML in Google Chrome prior to 151.0.7922.…8.8
- CVE-2026-19560Use after free in Blink in Google Chrome prior to 151.0.7922…8.8
- CVE-2026-19561Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-19553?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
