CVE-2026-84381: HTTPX2 · Secure WebSocket traffic sent without TLS through SOCKS proxies
Affects hermes-agentSource GCVE Database
Not known to be exploited · CVSS 8.1 High : upgrade to 0.22.2 soon.
Data as of 27 Oct 2026, 20:59 UTC
- Patch
- Available – fixed in 0.22.2
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade hermes-agent to 0.22.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewhermes-agentpkg:brew/hermes-agentOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade HTTPX2 and httpcore2 to version 2.10.0 or later, where TLS is correctly started for both https and wss origins in SOCKS5 connections. If upgrading immediately is not possible, avoid routing wss:// connections through SOCKS proxies. Instead, use direct secure WebSocket connections or alternative transports that perform and verify TLS to the WebSocket origin.
Description
HTTPX2 versions 2.6.0 through 2.9.1 and underlying httpcore2 releases before 2.10.0 do not initiate TLS for secure WebSocket (wss://) connections routed through SOCKS5 proxies. This results in the WebSocket handshake and subsequent frames being sent in plaintext through the proxy, exposing sensitive headers, cookies, and messages. An attacker controlling or observing the SOCKS proxy path can intercept or modify this traffic, violating the expected confidentiality and integrity guarantees of wss connections. The issue is fixed in HTTPX2 and httpcore2 version 2.10.0 and later.
References
- github.com/pydantic/httpx2/security/advisories/GHSA-7mj9-2mp8-4m2p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-84381 (opens in a new tab)
- github.com/pydantic/httpx2/pull/1104 (opens in a new tab)
- github.com/pydantic/httpx2/commit/fb008dd700b761d955210d9692475c3e2f379453 (opens in a new tab)
- github.com/pydantic/httpx2 (opens in a new tab)
- github.com/pydantic/httpx2/releases/tag/v2.10.0 (opens in a new tab)