# CVE-2026-110314: WebSocket frames keep reaching the WebSock after a server-initiated close in Bandit

- Severity: Medium 6.3 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/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.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-26T13:31:18.257Z
- Modified: 2026-11-25T06:30:05.973Z
- Also known as: EEF-CVE-2026-110314, GHSA-2v5v-8f9v-xh85
- Weaknesses: CWE-602
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

Client-Side Enforcement of Server-Side Security vulnerability in the WebSocket connection handling of mtrudel bandit allows a remote client to keep running WebSock handler code after the server has stopped its connection, via data frames sent after ignoring the server's Close frame.

When a WebSock callback returns {:stop, ...}, Bandit.WebSocket.Connection calls terminate/2, sends Close and shuts down the write side, but keeps the connection process running in a :closing state. handle_frame/3 and handle_info/3 never check that state, so later frames still reach handle_in/2 and later messages reach handle_info/2, with the state from the stop tuple, until the client sends Close, TCP drops or the idle timeout fires. A client refused in init/1 after a failed token check could still run an admin-only action.

This issue affects bandit: from 0.5.1 before 1.14.0.

(As written by CVE List.)

## Affected

- bandit: from 0.5.1 before 1.14.0
- mtrudel/bandit: from bb407f2277dcb65a58dd8cc07913a0b58a80e266 before 220b9dfd27f9a21305be2afc75cbe585ddc24e7a
- bandit (Hex): from 0.5.1 before 1.14.0
- https://github.com/mtrudel/bandit: from bb407f2277dcb65a58dd8cc07913a0b58a80e266 before 220b9dfd27f9a21305be2afc75cbe585ddc24e7a

## Every score

- EEF: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/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:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/mtrudel/bandit/security/advisories/GHSA-2v5v-8f9v-xh85> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-110314.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-110314> (related)
- <https://github.com/mtrudel/bandit/commit/bb407f2277dcb65a58dd8cc07913a0b58a80e266> (related, web)
- <https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a> (fix, patch)
- <https://hex.pm/packages/bandit> (package)

## Sources

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

---

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