CVE-2026-107685

WebSocket sessions do not verify TLS certificates, exposing API keys and OAuth tokens to on-path attackers

State
Published
Severity
9.1 Critical
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Oct 10, 2026

Read the record on cve.org

Description

Improper Certificate Validation vulnerability in the WebSocket streaming client in agentjido req_llm allows an on-path attacker to read and modify OpenAI WebSocket sessions, including the authorization bearer token, via a TLS certificate the client does not trust. ReqLLM.Streaming.WebSocketSession.Client.start/3 in lib/req_llm/streaming/web_socket_session/client.ex starts WebSockex without TLS options, and WebSockex defaults to insecure: true, which connects with verify: :verify_none. The option allowlist also drops any caller-supplied cacerts or ssl_options, so an application cannot turn verification on.

The OpenAI Responses, Realtime, and Codex WebSocket paths reach this client and send the API key or OAuth access token in the authorization header. HTTP streaming through Finch and the HTTP/2 duplex session through Mint verify certificates and are not affected.

This issue affects req_llm: from 1.9.0 before 1.29.0.

Scores

CVSSScoreVectorSource
4.09.1 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-295 Improper Certificate Validation

Affected Products

ProductVersions
req_llmagentjido
  • 1.9.0 to before 1.29.0Affected
req_llmagentjido
  • a389d718640ceb2d541a8f540ab954cbf5ef8313 to before c7264fc0217fbacfb5562234ff790b8e4462de76Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.