httpcore2
A next generation HTTP client for Python. 🦋
Activity
- Latest release
- 50m ago
- Total releases
- 17
- Cadence
- ~5 days
- Last 12 months
- 17
Reach
- Stars
- 1.4k
Details
- License
- BSD-3-Clause
- First release
- May 11, 2026
| Version | Released | |
|---|---|---|
2.13.0
minor
| ||
2.12.0
minor
| ||
2.11.0
minor
| ||
2.10.0
minor
| ||
2.9.1
patch
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.9.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.8.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.7.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.6.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.5.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.4.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.3.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.2.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.1.0
minor
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.0.0
major
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.0.0b1
pre
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
0.0.0
initial
1 CVE
CVE-2026-84381
PYSEC-2026-3844
GHSA-7mj9-2mp8-4m2p
PYSEC-2026-3845
Sep 10, 2026
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
8.1
/ 10
High
Adjacent
Low
None
None
Unchanged
High
High
None
Summaryhttpcore2 does not start TLS for The transport flaw affects httpcore2 releases before DetailsThe synchronous and asynchronous SOCKS5 connection implementations upgrade the established proxy tunnel to TLS only when the remote origin scheme is For example, an application using HTTPX2
On affected versions, the stream passing through the SOCKS proxy begins with a plaintext request such as:
Before HTTPX2 A normal secure WebSocket server will usually reject these plaintext bytes because it expects a TLS ClientHello. However, a malicious or compromised SOCKS proxy can accept the SOCKS connection, observe the plaintext handshake, return a forged RFC 6455 requires a client using a secure WebSocket connection to perform the TLS handshake before sending the WebSocket opening handshake. A ImpactAn attacker able to control or observe the SOCKS proxy path can obtain URL query parameters, authorization headers, cookies, and application messages that the caller expected TLS to protect. Because no TLS handshake occurs, certificate verification also does not occur, allowing an attacker controlling the proxy to impersonate the WebSocket server and inject or alter messages. Only MitigationUpgrade HTTPX2 and httpcore2 to If upgrading is not immediately possible, do not route Affected versions
0.0.0
2.0.0
2.0.0b1
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
2.8.0
2.9.0
+ 1 more Show less
2.9.1
Fixed in
2.10.0
References
Updated Sep 10, 2026 · Source: OSV.dev |