# CVE-2026-107685: WebSocket sessions do not verify TLS certificates, exposing API keys and OAuth tokens to on-path attackers

- Severity: Critical 9.1 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-23T11:00:38.975Z
- Modified: 2026-11-25T06:30:10.420Z
- Also known as: EEF-CVE-2026-107685, GHSA-6vww-5m28-f26v
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- req_llm: from 1.9.0 before 1.29.0
- agentjido/req_llm: from a389d718640ceb2d541a8f540ab954cbf5ef8313 before c7264fc0217fbacfb5562234ff790b8e4462de76
- req_llm (Hex): from 1.9.0 before 1.29.0
- https://github.com/agentjido/req_llm: from a389d718640ceb2d541a8f540ab954cbf5ef8313 before c7264fc0217fbacfb5562234ff790b8e4462de76

## Every score

- EEF: CVSS:4.0 9.1 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/agentjido/req_llm/security/advisories/GHSA-6vww-5m28-f26v> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-107685.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-107685> (related)
- <https://github.com/agentjido/req_llm/commit/a389d718640ceb2d541a8f540ab954cbf5ef8313> (related, web)
- <https://github.com/agentjido/req_llm/commit/c7264fc0217fbacfb5562234ff790b8e4462de76> (fix, patch)
- <https://hex.pm/packages/req_llm> (package)

## Sources

- CVE List: [CVE-2026-107685](https://www.cve.org/CVERecord?id=CVE-2026-107685), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-107685](https://osv.dev/vulnerability/EEF-CVE-2026-107685), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-107685](https://nvd.nist.gov/vuln/detail/CVE-2026-107685), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-107685 · Whole record: https://cve.day/CVE-2026-107685.json · Rebuilt by cve.day 2026-11-25T22:59:46.871Z
