CVE-2026-110314
published medium CVSS 4.0 · 6.3WebSocket frames keep reaching the WebSock after a server-initiated close in Bandit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mtrudel | — | bandit0.5.1 to < 1.14.0 · Other versions: unaffected | Affected | Not stated | EEF |
| mtrudel | — | mtrudel/banditbandit · bb407f2277dcb65a58dd8cc07913a0b58a80e266 to < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mtrudel | bandit | 0.5.1 to < 1.14.0 (affected · semver)Default: unaffected | EEF · cna |
| mtrudel | bandit | bb407f2277dcb65a58dd8cc07913a0b58a80e266 to < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-602 CWE-602 Client-Side Enforcement of Server-Side Security
References
5- EEF CNA record for CVE-2026-110314 https://cna.erlef.org/cves/CVE-2026-110314.html
- Fix commit 220b9df in mtrudel/bandit https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a
- Introducing commit bb407f2 in mtrudel/bandit https://github.com/mtrudel/bandit/commit/bb407f2277dcb65a58dd8cc07913a0b58a80e266
- WebSocket frames keep reaching the WebSock after a server-initiated close in Bandit https://github.com/mtrudel/bandit/security/advisories/GHSA-2v5v-8f9v-xh85
- OSV record EEF-CVE-2026-110314 https://osv.dev/vulnerability/EEF-CVE-2026-110314
Provider assertions
2EEF · cna
WebSocket frames keep reaching the WebSock after a server-initiated close in Bandit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 322e6b99beaa4e5e16fa0028997525706908bb425d9344b683f4efd1f0481a7a
- Ingested
- 19 Nov 2026, 08:22:50 UTC
- Source record
- Official CVE record