HTTP Client Vulnerability in HTTPX2 Affects Python Applications
CVE-2026-84381
8.1HIGH
What is CVE-2026-84381?
The HTTPX2 library has a vulnerability due to improper TLS negotiation when using WebSocket connections through a SOCKS5 proxy. This issue arises from the library's failure to properly recognize the wss protocol, resulting in the potential exposure of sensitive data in plaintext. With no certificate verification, attackers can intercept, read, or modify the traffic between the client and the server. This could lead to severe security risks, including unauthorized access and data manipulation. The flaw affects versions 2.6.0 to 2.9.1 of HTTPX2 and has been addressed in version 2.10.0.
Affected Version(s)
httpcore2 < 2.10.0
httpx2 >= 2.6.0, < 2.10.0
