Intel

AIKIDO-2026-437020

httpcore2 is vulnerable to Cleartext Transmission of Sensitive Information

Cleartext Transmission of Sensitive InformationGHSA-7mj9-2mp8-4m2p Published Yesterday

81

High Risk

This Affects:

PYTHONhttpcore2
0.0.1 - 2.9.1
Fixed in 2.10.0
Are you affected? Scan for Free

TL;DR

When routing a secure WebSocket connection through a SOCKS5 proxy, the transport initiates TLS only for https origins and omits wss, so the WebSocket handshake and frames are sent in cleartext to the proxy. Sensitive data such as authorization headers, cookies, and query parameters are sent unencrypted. A malicious or compromised proxy can read or alter credentials and messages, or impersonate the server without certificate verification. The fix initiates TLS for both https and wss origins routed through SOCKS proxies.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you route secure WebSocket (wss) connections through a SOCKS5 proxy.

Background info

httpcore2 is vulnerable to Cleartext Transmission of Sensitive Information in versions 0.0.1 - 2.9.1.

How to fix this

Upgrade the httpcore2 library to the patch version.